HslColor constructor

HslColor(
  1. double h,
  2. double s,
  3. double l, {
  4. double opacity = 1,
})

An immutable 32 bit color value in ARGB format.

Implementation

HslColor(double h, double s, double l, {double opacity = 1})
    : super(getColorFromHsl(h, s, l, opacity));