LIGHTENCOLOR method (System)
Description
This method returns a lightened version of the specified color.
Syntax
LtColor = Exec_Method( "SYSTEM", "LIGHTENCOLOR", Color, Amount )
Parameters
Name | Required | Description |
---|---|---|
Color | Yes | Color to lighten. |
Amount | Yes | Amount by which to lighten (between 0 and 1.0) |
Returns
The lightened color.
Remarks
N/A
Example
//// Get the system BTNFACE color and create a lighter version of it.// Color = Get_Property( @Window, "VISUALSTYLECOLOR", SYSCOLOR_BTNFACE$ ) LtColor = Exec_Method( "SYSTEM", "LIGHTENCOLOR", Color, 0.1 )
See Also
ALPHACOLOR method, LIGHTENCOLOR method, MIXCOLORS method.