ColorExt extension
An extension on the Color class that provides additional functionality.
- on
Methods
-
withLightness(
double lightness) → Color -
Returns a new color with the same hue and saturation as this color,
but with the specified
lightness
value.