TClrColor.Create(Integer,Integer,Integer,Integer) Constructor

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

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

Parameters

Alpha
Type: Integer

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

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.