RGB (Reserved Word)

image\trumpet2.gif Disclaimer

Returns an RGB color (16 million) value as a 32-bit integer that represents a specified combination of red, green, and blue color values.

RGB(nRed, nGreen, nBlue);

Where each red, blue, and green color value can be an integer from 0-255.

Remarks

The value returned is a RGB color number (16 million color) from 0 to 16777215.

Example

If you wanted to change the foreground color of Plot1 to yellow, you could use the following syntax:

SetPlotColor (1, RGB(255,255,0));     

See Also

ARGB, GetAValue, GetBValue, GetGValue, GetRValue