color2hsv static method
Converts a Flutter Color object to HSV values.
Returns a list of doubles representing the HSV values. h, s, v
Implementation
static List<double> color2hsv(Color color) {
final List<int> rgb = color2rgb(color);
return rgb2hsv(rgb[0], rgb[1], rgb[2]);
}