setPaletteColor

fun setPaletteColor(colorIndex: Int, color: Color)

Sets color in RGBA mode for colorIndex.

If the color is not provided for some index, the default value 0x0066FFFF is used.