lighter

fnuint lighter(uint c) nothrow @nogc

Returns a lighter version of a color.

Mixes the color with white using a 0.67 weight.

Parameters

cColor to lighten

Returns

Lighter color value

Example:

uint lightRed = lighter(Colors.RED);