ColorExtension extension
Extension methods for Color to provide utility functions like darkening.
- on
Methods
-
darken(
[double amount = .1]) → Color -
Available on Color, provided by the ColorExtension extension
Darkens the color by the specifiedamount
.amount
should be between 0.0 and 1.0.