+ 2

Where can I find the color codes in numbers, used in programming?

like the number used to represent colors. for example #424242 = Grey

27th Dec 2017, 8:14 AM
Danlee Platnumz
Danlee Platnumz - avatar
9 Answers
+ 16
http://htmlcolorcodes.com This is one of many sites available to pick colors at. There is a hexadecimal color picker here as well as some other resources. Color can be added with hexadecimal values (#424242), rgb (255,200,150), RGBA (255,0,0,.8), by name ... and probably some other ways I'm not yet aware of.
27th Dec 2017, 8:26 AM
JMQ
JMQ - avatar
+ 9
#424242 basically means that you have the same intensity of R, B and G for the color. Looking at the relatively low value of 42 in the color hex scale, it would be a darker shade of grey. You can always just Google it up, Google has its own color picker. https://www.google.com/search?q=%23424242&rlz=1C1CHBF_enMY775MY775&oq=%23424242
27th Dec 2017, 8:42 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
https://www.w3schools.com/cssref/css_colors.asp
27th Dec 2017, 8:24 AM
TwinkleMist
TwinkleMist - avatar
+ 7
all 000000 is black (something that absorbs all wavelengths in real life is black) and FFFFFF (something that reflects all wavelengths in real life) is white. They work as colors do in real life. If you mix red and blue FF00FF you get violet, and so on. And they are both "RGB values" as they are part of the same color additive system, one is just written in decimal values and the other in hexadecimal values. In hexadecimal, you have 16 values, 0-9, and A-F. FF is equivalent to 255 because 16*16 = 256, which starting at index 0 is 255. -- explanation by David fuqua --
27th Dec 2017, 8:50 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 5
he also said that there is 16 million color combination
27th Dec 2017, 8:51 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 4
hmm try hatsy rei's link
27th Dec 2017, 8:44 AM
TwinkleMist
TwinkleMist - avatar
17th Jan 2018, 4:34 PM
Morpheus
Morpheus - avatar
+ 1
TwinkleMist why dont I see the code #424242 as Grey from that website? or is it a wrong code?
27th Dec 2017, 8:33 AM
Danlee Platnumz
Danlee Platnumz - avatar
+ 1
Hatsy Rei. thanks ! that helps.
27th Dec 2017, 8:47 AM
Danlee Platnumz
Danlee Platnumz - avatar