RGB()

Syntax

Color = RGB(Red, Green, Blue)
Description
Returns the 24bit color value corresponding to the Red, Green, Blue values. As always each value is between 0 and 255, making available up to 16.7 Million colors.

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

A color table with common colors is available here.

Supported OS

All

<- OSVersion() - Misc Index - Random() ->