TClrColor.Create(Integer,Integer,Integer) Constructor

Initializes a new instance of the TClrColor class from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

Namespace: CNClrLib.Control.Graphics
public
 constructor Create(Red, Green, Blue: Integer); overload;

Parameters

Red
Type: Integer

The red component value for the new Color. Valid values are 0 through 255.

Green
Type: Integer

The green component value for the new Color. Valid values are 0 through 255.

Blue
Type: Integer

The blue component value for the new Color. Valid values are 0 through 255.