ColorExtensions extension
- on
Methods
-
darken(
[double amount = 0.1]) → Color -
Available on Color, provided by the ColorExtensions extension
This will return the darker color of current amount must be between 0 & 1 -
lighten(
[double amount = 0.1]) → Color -
Available on Color, provided by the ColorExtensions extension
This will return the lighter color of current amount must be between 0 & 1