RGB()

Syntax

Color = RGB(Red, Green, Blue)
Description
Returns the 24-bit color value corresponding to the Red, Green, Blue components.

Parameters

Red, Green, Blue The value of the red, green and blue components for the color. Each value must be between 0 and 255.

Return value

Returns the combined color value.

Remarks

To extract the red, green and blue values from a 24 Bit color value, use the Red(), Green() and Blue() functions. These functions are useful to perform Drawing operations.

A color table with common colors is available here.

See Also

Red(), Green(), Blue(), RGBA()

Supported OS

All

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