VG3_color_brightness()
Return the passed color darkened.SYNTAX
int
VG3_color_brightness(int color,
int percent)
FUNCTION PARAMETERS
color | Color from VGAG3_COLORS |
percent | Percent of the brightness of the color: 0 = dark to 100 = bright |
RETURN VALUE
Returns the color darker according to percent.
DESCRIPTION
Return the passed color darkened.
E.g. if percent is 50 the color returned
will be half as bright as normal.