getRGBAPercentages

fun getRGBAPercentages(color: Int, maxValue: Double = 255.0): DoubleArray(source)

Compute the R, G, B and Alpha components of a color. All values between 0..255.