toRgb2 method

List<double> toRgb2()

Converts a Flutter Color object to normalized RGB (0.0-1.0) values.

Returns a list of doubles representing the RGB values. r, g, b

Implementation

List<double> toRgb2() {
  return ColorConverter.color2rgb2(this);
}