hex2hsv static method

List<double> hex2hsv(
  1. dynamic hex
)

Converts a hex string to HSV values.

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

Implementation

static List<double> hex2hsv(hex) {
  final List<int> rgb = hex2rgb(hex);
  return rgb2hsv(rgb[0], rgb[1], rgb[2]);
}