Red()

Syntax

Result = Red(Color)
Description
Returns the red component of a color value.

Parameters

Color The color value. This can be a 24-bit RGB or a 32-bit RGBA value.

Return value

Returns the value of the red component. The result will be between 0 and 255.

Remarks

To combine red, green and blue values in order to create a 24-bit RGB color, use the RGB() function. These functions are useful to perform Drawing operations.

See Also

Green(), Blue(), Alpha(), RGB(), RGBA()

Supported OS

All

<- RGBA() - 2DDrawing Index - RoundBox() ->