getPaletteColor

fun getPaletteColor(colorIndex: Int): Color

Returns the palette color for the specified index.