toArray
fun toArray(array: MutableList<Double> = mutableListOf(), offset: Int = 0): MutableList<Double>(source)
Writes this color's RGB components into array at offset, growing the list as needed, and returns it.
Return
The color components.