RGB
This command will return the final color value of a combination of red, green and blue intensities. For each of the Red, Green and Blue components you must enter a value between 0 and 255. All zero will return a color value that represents black. All 255 will return a color value that represents white. By setting the Red component to 255 and the rest to zero, the command will return a color value that represents red. The parameters should be specified using integer values.
You can also determine the individual color components from the combined color value by using the commands RGBR, RGBG and RGBB specifying the known color value.
SYNTAX
Color Value=RGB(Red Value, Green Value, Blue Value)
Red Value=RGBR(Color Value)
Green Value=RGBG(Color Value)
Blue Value=RGBB(Color Value)
RELATED INFO
Basic2D Commands
Glossary
EXAMPLE
Plotting RGB Values