Skip to content

darker()

Return a darker version of the color.

color.darker()

The original color is left unchanged.

Returns

return darkerColor

Value Type Description
darkerColor Color A new color, darker than this one.