List of Colors
-
- Posts: 15
- Joined: 25 Aug 2007
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Hello,
Apart from the colours listed in the table, there is one more colour - DarkYellow. This colour does not have a number, only the reserved word - DarkYellow.
Most important, though is that in MultiCharts you can use the RGB model to plot over 16 million colours.
Here are the details:
Returns the 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.
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));
Regards.
Apart from the colours listed in the table, there is one more colour - DarkYellow. This colour does not have a number, only the reserved word - DarkYellow.
Most important, though is that in MultiCharts you can use the RGB model to plot over 16 million colours.
Here are the details:
Returns the 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.
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));
Regards.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
this is great.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));
Regards.
Where is the documentation?
- RobotMan
- Posts: 375
- Joined: 12 Jul 2006
- Location: Los Altos, California, USA
- Has thanked: 31 times
- Been thanked: 13 times
- Contact:
You could try looking it up yourself.
go to: (remove the spaces)
htt ps : // www . TS.com/support/books/default.aspx
and D/L:
EasyLanguage® Functions & Reserved Words Reference (.pdf)
and turn to page 992.
I keep a copy handy in "My Documents" and put a shortcut to it in the "quick launch" area of my taskbar. It's quite the tome of all things EL.
Also, if you are ever curious; in MC click on "format study" and click on the color of one of your indicators and when the standard colors popup, click on "other". Now you can create any color you want and the RGB code for it is in the lower right hand corner. You can "add to custom colors" or just copy down the numbers to the Power Language code you are writing.
Bob Perry
Los Altos, CA
go to: (remove the spaces)
htt ps : // www . TS.com/support/books/default.aspx
and D/L:
EasyLanguage® Functions & Reserved Words Reference (.pdf)
and turn to page 992.
I keep a copy handy in "My Documents" and put a shortcut to it in the "quick launch" area of my taskbar. It's quite the tome of all things EL.
Also, if you are ever curious; in MC click on "format study" and click on the color of one of your indicators and when the standard colors popup, click on "other". Now you can create any color you want and the RGB code for it is in the lower right hand corner. You can "add to custom colors" or just copy down the numbers to the Power Language code you are writing.
Bob Perry
Los Altos, CA
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
It would be great if MC can assign a number and/or Reserved Word to each of the colors on the Format Window Background color grid.Hello,
Apart from the colours listed in the table, there is one more colour - DarkYellow. This colour does not have a number, only the reserved word - DarkYellow.
Most important, though is that in MultiCharts you can use the RGB model to plot over 16 million colours.
Here are the details:
Returns the 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.
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));
Regards.
It beats fumbling with the RGB combinations.
See attached.
- Attachments
-
- Format_Window.jpg
- (36.3 KiB) Downloaded 1387 times
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact: