How to remember color codes for html , they are very tricky to remember any other easy way to figure this out? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to remember color codes for html , they are very tricky to remember any other easy way to figure this out?

5th Aug 2020, 5:01 AM
K S Jaswant
K S Jaswant - avatar
2 Answers
+ 4
You can use Colorpicker just google color picker no need to learn codes but you wanna know how this works here's a explanation each 2 digits of the hex code, stands for red, green and blue. hexadecimal values go from 0-9, then istead of 10, it is A, then B, C, D, E and F. In total we have from 0 to F (or 0-F). so now we know the minimum for each 2 digits can be 00(black), and the maximum FF(white) for example, if you have the following hex code: #FF0000, means that you have all red, no green and no blue.if you want no red, all green and no blue, it is #00FF00. by this logic you can try to mix values like #FFFF00(all red and all green), which gives you yellow. What you can do is try to remember easier shades too from this logic. Pure conversion between RGB and Hex values are almost impossible to be done just by looking. That's why there are calculators/color pickers all around.
5th Aug 2020, 5:07 AM
Shino
Shino - avatar