+ 1
What's the hex code colors in CSS?
I know white and black and grey Grey = #eee White = #fff Black = #000
4 Answers
+ 3
As Happy to Help mentioned, the first two values are red, next two are green and last two are blue;
Hex values go from 0-9, then A-F, it's a way to count to 16 using a single character, where A is the same as 10, B = 11 and so on, until F = 15 (remember you start at 0).
Hex allows for two characters per colour, so you have 00 to FF as your available options. All 0's are you've found is no colour (or black), all F's is max all colours (or white). Anytime the Red, Green and Blue values all match, you will have a shade of grey.
Any other combination, the values reference how much of each colour there is. Eg, FF0000 is bright red, 00FF00 is bright green and 0000FF is bright blue. You mix these values to create one of the 16million colour combinations available.
+ 1
Might be handy...
https://www.w3schools.com/colors/colors_picker.asp
+ 1
Thanks To All!!
+ 1
thanks!!