rgbToLch static method
RGB values are ranging in 0;1
.
@param tuple An array containing the color's RGB values.
@return An array containing the resulting color's LCH coordinates.
Implementation
static List<double> rgbToLch(List<double> tuple) {
return luvToLch(xyzToLuv(rgbToXyz(tuple)));
}