darker()
Return a darker version of the color.
The original color is left unchanged.
Parameters
Once an object color has been created, you can use the following function:
color.darker()
Returns
return darkerColor
| Value | Type | Description |
|---|---|---|
| darkerColor | Color |
A new color, darker than this one. |