I'm pretty sure this is something I'm supposed to know but I don't know it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm pretty sure this is something I'm supposed to know but I don't know it

Pls how does the hexadecimal color system work I keep seeing things like 6600FF And I don't know which color it is pls is there a way to know all the colors

3rd Aug 2021, 3:28 PM
David
David - avatar
3 Answers
+ 7
each two digits represent one color. # 00 00 00 red green blue it goes from 0 to 9, than instead of 10, we have A. instead of 11, we have B. so the complete range of each single value in hexadecilmal is 0,1,2,3 4,5 6 7 8,9,A,B,C,D,E,F. as hex colors use two digits for each colour, the minimum is 00(black), and the maximum FF(white). #000000 <~ no values for red green and blue, results black #FF0000 <~ maximum value of red, no green and no blue, red color #0000FF <~ maximum value of blue, no red and no green. blue color #FFFF00 <~ all red, all green and no blue. Results in yellow color. This is the logic, but it's too hard to guess all shades you want just by yourself. So what you can do is try to guess and memorize simple shades. As it's too hard to memorize all the colors you need and would waste your time too, that's why we have color pickers, as the one i created here: https://code.sololearn.com/W3CMecJLcM18/?ref=app
3rd Aug 2021, 3:41 PM
Pariket Thakur
Pariket Thakur - avatar
+ 2
"Read Hex Color Codes - Hexadecimal Color | Pluralsight" https://www.pluralsight.com/blog/tutorials/understanding-hexadecimal-colors-simple
3rd Aug 2021, 3:35 PM
Pariket Thakur
Pariket Thakur - avatar
0
Thanks
7th Aug 2021, 2:54 PM
David
David - avatar