rgbToHsluv static method
HSLuv values are ranging in 0;360
, 0;100
and 0;100
and RGB in 0;1
.
@param tuple An array containing the color's RGB coordinates.
@return An array containing the resulting color's HSL coordinates in HSLuv color space.
Implementation
static List<double> rgbToHsluv(List<double> tuple) {
return lchToHsluv(rgbToLch(tuple));
}