Gets a categorical color by index, cycling through the palette
Color index
Optional
Palette configuration
Hex color string
Gets a categorical color by index, cycling through the palette