get

operator fun get(index: Int): Double(source)

Retrieves the color's RGBA component value based on the specified index: index should be 0 for red, 1 for green, 2 for blue, 3 for alpha. Other index values throw an IndexOutOfBoundsException.