toFactoredListWithAlpha method

List<double> toFactoredListWithAlpha()

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

Implementation

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