How to easily identify colors in hex decimal ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

How to easily identify colors in hex decimal ?

17th Oct 2021, 5:11 PM
Sujal
Sujal - avatar
4 Answers
+ 10
A hex color code is a 6-symbol code made of up to three 2-symbol elements. Each of the 2-symbol elements expresses a color value from 0 to 255. The code is written using a formula that turns each value into a unique 2-digit alphanumeric code. For example, the RGB code (224, 105, 16) is E06910 in hexadecimal code. more info: https://marketing.istockphoto.com/blog/hex-colors-guide/
17th Oct 2021, 5:22 PM
SAN
SAN - avatar
+ 6
Sujal , can you please give us some more information what you mean by saying 'identify' colors? do you have to search for this color codes?
17th Oct 2021, 6:47 PM
Lothar
Lothar - avatar
+ 2
You can get a very rough idea if you remember that the first two digits set the red component, the second two digits the green component and the last two digits the blue component and that higher numbers mean more intense shades. For anything more concrete you'll have to use tables unless you have an excellent and weird memory.
17th Oct 2021, 6:17 PM
Simon Sauter
Simon Sauter - avatar
+ 1
In hex there is 6 numbers/values, divided in 3 groups, red,green and blue Value/numbers can be from 0-9 and A-F where 0 is dark and f light. So #ff0000 will be red color, if you change it to #990000 ot will be some dark red color. #000000 this will be black, #ffffff this white, and if you have like this #eeeeee it will be gray, if you have all 3 set to same value(except black and white) color is gray. RGB is similar but value for rgb is from 0 to 255 You can use some tools on internet to find hex code of color you want
18th Oct 2021, 12:46 AM
PanicS
PanicS - avatar