setPaletteColor

abstract fun setPaletteColor(index: Int, color: Int)

Sets a specific ANSI indexed color.

Parameters

index

Color index (0..255).

color

The packed ARGB color value.