toHsl method

List<double> toHsl()

Converts a Flutter Color object to HSL values.

Returns a list of doubles representing the HSL values. h, s, l

Implementation

List<double> toHsl() {
  return ColorConverter.color2hsl(this);
}