changeHsl method

SassColor changeHsl({
  1. num? hue,
  2. num? saturation,
  3. num? lightness,
  4. num? alpha,
})

Changes one or more of this color's HSL channels and returns the result.

Implementation

SassColor changeHsl(
        {num? hue, num? saturation, num? lightness, num? alpha}) =>
    SassColor.hsl(hue ?? this.hue, saturation ?? this.saturation,
        lightness ?? this.lightness, alpha ?? this.alpha);