ColorExtensions extension
Extension on Color to provide utility methods for color manipulation and conversion.
- on
Methods
-
darken(
[double amount = .1]) → Color -
Available on Color, provided by the ColorExtensions extension
Darkens the color by blending it with black. -
lighten(
[double amount = .1]) → Color -
Available on Color, provided by the ColorExtensions extension
Lightens the color by blending it with white.