+ 1

What is the easy way to identify colors in hex decimal

29th May 2017, 5:26 PM
B.Harsha priya
B.Harsha priya - avatar
4 Respuestas
+ 5
lets take an example hex starts with # #0E506B 0E ------> for red --> convert it to decimal 0E = 14 simmilar 50 ->> green 50(hex) = 80 (decimal) 6B >> blue 6B = 107 (decimal) alternative Color rgb(14,80,107);
29th May 2017, 5:31 PM
MR Programmer
MR Programmer - avatar
+ 5
In CSS there are two main ways of selecting colors. The first is to simply use the color name, like this: background-color: blue; Obviously this is limited. A computer can display millions of different colors, and remembering the names of every single one of them is impossible. And spare a thought for that poor guy whose job it is to come up with the names! This is why CSS uses hex codes, like this: background-color: #RRGGBB; Hex Codes Represent Red, Green and Blue A computer screen displays a color by combining red light, green light and blue light. 100% red, 100% green and 100% blue produces white. background-color: #FFFFFF; this is white background-color: #000000; this is black Zero red, zero green and zero blue produces black. In fact, equal levels of red, green and blue, whatever that level may be, will always produce a shade of gray.
29th May 2017, 5:32 PM
Awele Omeligwe
Awele Omeligwe - avatar
+ 1
well white is #ffffff and black is #000000. Each pairing of numbers corresponds to Red Green and Blue so just play around with it until you find the color you're looking for
29th May 2017, 5:32 PM
Allan Stewart
Allan Stewart - avatar
1st Jun 2017, 7:14 PM
Welliton Malta
Welliton Malta - avatar