For Containers

Note that the + "40" applies transparency. Remove that if you want the base color to be solid.

const seatColors = [ "#3b82f6", "#ef4444", "#eab308", "#22c55e", "#a855f7", "#ec4899", ];
function updateVariant(variant, index) {
	return { 
		"baseFillColor": seatColors[index - 1] + "40", 
		"strokeColor": seatColors[index - 1]
	};
}

For Tiles

const seatColors = [ "#3b82f6", "#ef4444", "#eab308", "#22c55e", "#a855f7", "#ec4899", ];
function updateVariant(variant, index) {
	return { 
		"frontFillColor": seatColors[index - 1], 
		"backFillColor": seatColors[index - 1], 
		"strokeColor": seatColors[index - 1]
	};
}