toFactoredListWithAlpha method

List<double> toFactoredListWithAlpha()

Returns a fixed-length list containing the hue, saturation, brightness, and alpha values factored to be on 0 to 1 scale.

Implementation

List<double> toFactoredListWithAlpha() => List<double>.from(<double>[
      hue / 360,
      saturation / 100,
      brightness / 100,
      alpha / 255,
    ], growable: false);