toXy method

List<double> toXy()

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

List<double> toXy() {
  return ColorConverter.color2xy(this);
}