RGB

From MultiCharts
Revision as of 12:52, 20 January 2012 by 194.84.116.138 (talk)
Jump to navigation Jump to search

Returns an RGB color number that corresponds to the specified combination of red, green, and blue component color values; the number ranges from 0 to 16777215 and represents one of 16 M colors.

Usage

RGB (Red,Green,Blue)

Where: Red – a numerical value from 0 to 255, specifying the Red component of the RGB color

Green– a numerical value from 0 to 255, specifying the Green component of the RGB color

Blue – a numerical value from 0 to 255, specifying the Blue component of the RGB color

Example

Create an Orange color plot using the RGB color combination:

Plot1(Open);
SetPlotColor(1,RGB(224,160,32));