Palette
A Palette divides the hue wheel into equal sectors, so that any hue names a slot and any slot names a hue. Slots hold whatever you put in them — the wheel never inspects them. Sectors are divided in perceptual (oklch) hue rather than display (HSV) hue, and the two wheels below are the same palette drawn both ways.
There is no weight field. Every sector is the same size, so a value
takes a wider arc by appearing more than once — and because
position matters, repeats that are separated put the same
value in two different regions of the wheel instead of widening one.
The default g1,g2,g2,g1,g3 shows both at once: g2 is one
double-width band, while the two g1 sectors stay apart.
new Palette({ slots: T[]; rootHue?: number; crossZone?: number })