rgbToHpluv 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 HPLuv (pastel variant) color space.
Implementation
static List<double> rgbToHpluv(List<double> tuple) {
return lchToHpluv(rgbToLch(tuple));
}