hsl2xy static method
Converts HSL values to xy coordinates in the CIE 1931 color space.
Returns a list of doubles representing the xy values. x, y, brightness
Implementation
static List<double> hsl2xy(int h, double s, double l) {
final List<int> rgb = hsl2rgb(h, s, l);
return rgb2xy(rgb[0], rgb[1], rgb[2]);
}