SassColor.lch constructor
Creates a color in ColorSpace.lch.
If null
is passed for alpha
, that indicates that it's a missing
component. In most cases, this is equivalent to the color being
transparent.
Throws a RangeError if alpha
isn't between 0
and 1
.
Implementation
factory SassColor.lch(double? lightness, double? chroma, double? hue,
[double? alpha = 1]) =>
SassColor.forSpaceInternal(ColorSpace.lch, lightness, chroma, hue, alpha);