Can one have too many colors?
Yes:
65,536 (256 x 256); all possible graduations of Red and Blue, Green is totally absent. Best seen Full Screen & zoomed.
If this view were to be reproduced another 255 times, incrementing the value of Green by 1 on every pass, we would see every possible color once.
256 x 256 x 256 = 16,777,216 colors, corresponding to 24-bit color
Just a few years ago, or so it seems, we should have been so lucky.
The total number of colors - the size of the palette - that could be shown on a monitor was only 256 at a time; 8-bit color.
Web Browsers had to settle on a common palette, and adopted a set that has since been referred to as the 256 Web-Safe Colors.
These colors could then be displayed without dithering in all browsers.
216 of those are historically represented in a 6 x 6 Cubes arrangement, each cube consisting itself of 6 distinct colors:
WebColors_216.mq4 on Black. Download below, please.
Once the display is up, it is completely static. RGB Codes can be copied to Graphics on the chart. The rectangles can be dragged, copied, overlaid, etc.
Start with Black, White and the neutral Gray (128,128,128) as Backgrounds, to see how that affects appearance and contrast.
This is no end of fun for kids of all ages but, as a responsible adult, you may want to also look up things in the links below ;-)
In the RGB color coding system each component, Red, Green and Blue can take on a value between 0 and 255, for a total of 256.
By stepping through combinations of these values different colors will be displayed.
The step used for the 6x6 Cubes above is 51 (decimal).
For example, in the top row, to get from Black (R=0, G=0, B=0) to full Blue (R=0, G=0, B=255), "B" will take on values of 0, 51, 102, 153, 204 and 255.
Many references to the 216 Web-Safe Colors use Hexadecimal notation, and the same sequence is found repeated as 00, 33, 66, 99, CC and FF.
Only 8 of these 216 Web-Safe Colors are named as MT4 Web-colors, with others as Custom choice.
That means a fair amount of additional standard colors become available for use on screen.
The only Option in the Input Box is to write Data to file in folder "\MQL4\Files\Color Kit".
That CSV file will always have the same content, and can be imported into a spread sheet. (Copy attached.)
Please check Post #3 for some more images.
The following Links all have information directly related to RGB coding, the 216 Web-Safe 6x6 Cubes or MT4 Named Web-colors.
Some sites have additional content that will hook into using Hues, other classifications and color theories.
The most rational presentation of various standard colors. Hex only, but easy to follow.
The step for the Basic Colors there is 11hex or 17dec, giving a graduation over 16 elements:
WebColors - RGB Color Chart http://www.nikhef.nl/pub/computing/WebColors.php
By clicking on one of the Named Web-colors, all other colors can be seen on that background.
Useful for selecting stable colors accordingly:
HTML Color Names http://www.w3schools.com/tags/ref_colornames.asp
The site has been nicely reworked since first mention here.
Great presentations of matched colors:
Hex Hub HTML Color Codes: Hexadecimal codes for named colors used in HTML page features
http://www.december.com/html/spec/color.html
The MT4 named Web-colors closely correspond to these 147 color names defined by the Scalable Vector Graphics (SVG) Specification:
http://www.december.com/html/spec/colorsvg.html
The 6x6 cubes, but also a nice selection of Secondary/Mixed/Pastel Colors:
Complete HTML True Color Chart; Table of color codes for html documents
http://www.immigration-usa.com/html_colors.html
The Web-color palette Used in MT4, but grouped by Hue, excellent:
Color Names http://html-color-codes.info/color-names/
And http://www.visibone.com/
With, along much else, this beautifully laid out 216 Web-Safe Colors Palette:
Web Designer's Color Reference Poster by VisiBone http://www.visibone.com/color/poster4x.html
Also, useful information and links concerning Color Deficient Vision http://www.visibone.com/colorblind/
Please have fun.
Downloads:
More on this mq4 in Post #4 and up. Please get the User Info to go along:
Note: The spread sheet MT4 Custom-Basic Colors.xlsx first discussed in Post #7 has been completed with all colors named.
See Post #18 for details. Download is from Post #19. phew.
The Script mentioned in Post #8, MT4 Named Web-colors.mq4, has been updated and become more interesting.
Description and download from Post#15.
Upgraded with a far more functional Grid and Cross Hairs combination. Details on that in Post #26
First of a series. Walk-through coding/drawing/coloring. Read from Post #11 & up:
New: 00c Copy-Paste Functions.mq4. How To. Importing basic graphics functions, and the minimum required to work them.
Up and coding in minutes flat. Download from Post #13.
Practical Color Wheel Mixing. Description from Post #21 & up.
Upgraded: Better usability mostly. Presentation and details in Post #35
I've changed the blurb here a few times, but understatement goes only so far.
"This one is 100%, because it couldn't be more simple and one gets to do it all. Play school."
Also, looping the gray scale.
Yes:
65,536 (256 x 256); all possible graduations of Red and Blue, Green is totally absent. Best seen Full Screen & zoomed.
If this view were to be reproduced another 255 times, incrementing the value of Green by 1 on every pass, we would see every possible color once.
256 x 256 x 256 = 16,777,216 colors, corresponding to 24-bit color
Just a few years ago, or so it seems, we should have been so lucky.
The total number of colors - the size of the palette - that could be shown on a monitor was only 256 at a time; 8-bit color.
Web Browsers had to settle on a common palette, and adopted a set that has since been referred to as the 256 Web-Safe Colors.
These colors could then be displayed without dithering in all browsers.
216 of those are historically represented in a 6 x 6 Cubes arrangement, each cube consisting itself of 6 distinct colors:
WebColors_216.mq4 on Black. Download below, please.
Once the display is up, it is completely static. RGB Codes can be copied to Graphics on the chart. The rectangles can be dragged, copied, overlaid, etc.
Start with Black, White and the neutral Gray (128,128,128) as Backgrounds, to see how that affects appearance and contrast.
This is no end of fun for kids of all ages but, as a responsible adult, you may want to also look up things in the links below ;-)
In the RGB color coding system each component, Red, Green and Blue can take on a value between 0 and 255, for a total of 256.
By stepping through combinations of these values different colors will be displayed.
The step used for the 6x6 Cubes above is 51 (decimal).
For example, in the top row, to get from Black (R=0, G=0, B=0) to full Blue (R=0, G=0, B=255), "B" will take on values of 0, 51, 102, 153, 204 and 255.
Many references to the 216 Web-Safe Colors use Hexadecimal notation, and the same sequence is found repeated as 00, 33, 66, 99, CC and FF.
Only 8 of these 216 Web-Safe Colors are named as MT4 Web-colors, with others as Custom choice.
That means a fair amount of additional standard colors become available for use on screen.
The only Option in the Input Box is to write Data to file in folder "\MQL4\Files\Color Kit".
That CSV file will always have the same content, and can be imported into a spread sheet. (Copy attached.)
Please check Post #3 for some more images.
The following Links all have information directly related to RGB coding, the 216 Web-Safe 6x6 Cubes or MT4 Named Web-colors.
Some sites have additional content that will hook into using Hues, other classifications and color theories.
The most rational presentation of various standard colors. Hex only, but easy to follow.
The step for the Basic Colors there is 11hex or 17dec, giving a graduation over 16 elements:
WebColors - RGB Color Chart http://www.nikhef.nl/pub/computing/WebColors.php
By clicking on one of the Named Web-colors, all other colors can be seen on that background.
Useful for selecting stable colors accordingly:
HTML Color Names http://www.w3schools.com/tags/ref_colornames.asp
The site has been nicely reworked since first mention here.
Great presentations of matched colors:
Hex Hub HTML Color Codes: Hexadecimal codes for named colors used in HTML page features
http://www.december.com/html/spec/color.html
The MT4 named Web-colors closely correspond to these 147 color names defined by the Scalable Vector Graphics (SVG) Specification:
http://www.december.com/html/spec/colorsvg.html
The 6x6 cubes, but also a nice selection of Secondary/Mixed/Pastel Colors:
Complete HTML True Color Chart; Table of color codes for html documents
http://www.immigration-usa.com/html_colors.html
The Web-color palette Used in MT4, but grouped by Hue, excellent:
Color Names http://html-color-codes.info/color-names/
And http://www.visibone.com/
With, along much else, this beautifully laid out 216 Web-Safe Colors Palette:
Web Designer's Color Reference Poster by VisiBone http://www.visibone.com/color/poster4x.html
Also, useful information and links concerning Color Deficient Vision http://www.visibone.com/colorblind/
Please have fun.
Downloads:
Attached File(s)
00c WebColors_216.mq4
6 KB
|
897 downloads
Attached File(s)
WebColors_216 RGB_Codes.xlsx
20 KB
|
827 downloads
More on this mq4 in Post #4 and up. Please get the User Info to go along:
Attached File(s)
00c Color Cubes 256.mq4
12 KB
|
707 downloads
|
Uploaded Oct 24, 2014 5:57pm
Attached File(s)
Color Cubes 256 User Info.doc
62 KB
|
704 downloads
|
Uploaded Oct 24, 2014 6:00pm
Note: The spread sheet MT4 Custom-Basic Colors.xlsx first discussed in Post #7 has been completed with all colors named.
See Post #18 for details. Download is from Post #19. phew.
The Script mentioned in Post #8, MT4 Named Web-colors.mq4, has been updated and become more interesting.
Description and download from Post#15.
Upgraded with a far more functional Grid and Cross Hairs combination. Details on that in Post #26
First of a series. Walk-through coding/drawing/coloring. Read from Post #11 & up:
Attached File(s)
00c Coloring_01 Do Intro.mq4
62 KB
|
455 downloads
|
Uploaded Dec 1, 2017 6:12pm
Attached File(s)
00c Coloring_02 ParallelsA.mq4
65 KB
|
426 downloads
|
Uploaded Dec 1, 2017 6:13pm
New: 00c Copy-Paste Functions.mq4. How To. Importing basic graphics functions, and the minimum required to work them.
Up and coding in minutes flat. Download from Post #13.
Practical Color Wheel Mixing. Description from Post #21 & up.
Upgraded: Better usability mostly. Presentation and details in Post #35
I've changed the blurb here a few times, but understatement goes only so far.
"This one is 100%, because it couldn't be more simple and one gets to do it all. Play school."
Also, looping the gray scale.
Attached File(s)
00c Color Wheel Mixer.mq4
56 KB
|
503 downloads
|
Uploaded Dec 15, 2017 6:59am