Skip to content

brighter()

Return a brighter 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.brighter()

Returns

return brighterColor

Value Type Description
brighterColor Color A new color, brighter than this one.