toHsv method

List<double> toHsv()

Converts a Flutter Color object to HSV values.

Returns a list of doubles representing the HSV values. h, s, v

Implementation

List<double> toHsv() {
  return ColorConverter.color2hsv(this);
}