Please enable JavaScript to view this site.

Creates a more light version of the specified color by lighten it by a percentage.

 

int ColorBrighten(int argb; int percentage)

 

argb

Color represented as a 32-bit integer.

percentage

The percentage to lighten the color by.

Example

ColorBrighten(ColorFromArgb(255; 0; 100; 255); 20)

Lightens each component of R, G and B with 51 (20% of 255) and returns the resulting color i.e. argb(255, 51, 151, 255).

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC