Table of Contents

LIGHTENCOLOR method (System)

Description

This method returns a lightened version of the specified color.

Syntax

LtColor = Exec_Method( "SYSTEM", "LIGHTENCOLOR", Color, Amount )

Parameters

NameRequiredDescription
ColorYesColor to lighten.
AmountYesAmount 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.