color2xy static method
Converts a Flutter Color object 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> color2xy(Color color) {
return rgb2xy(color.red, color.green, color.blue);
}