I dont know how express html colours in hexadecimal? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I dont know how express html colours in hexadecimal?

in one the chapters they have asked me to express black color in hexadecimal.pls explain

15th Dec 2016, 9:31 AM
aishwarya.m
aishwarya.m - avatar
5 Answers
+ 2
Hex is decimal with 6 extra numbers. i.e. 0-9 then A-F. Giving you 16 increments per digit. Color elements are expressed as 3 groups of 2 digit hex. RGB. So 000000 is black, all color off. 888888 is grey. FFFFFF is white, all color on. FF0000 is red. 00FF00 is green, 0000FF is blue.etc...
15th Dec 2016, 9:43 AM
Kerrash
Kerrash - avatar
+ 2
you don't have to remember then anyway, there are a lot of page with hexadecimal colours, so you can choose. But the explication above is valid.
15th Dec 2016, 9:49 AM
Nahuel
Nahuel - avatar
+ 2
search on google hex colors and you can then copy the hex code for any color you want, dont forget to include #.
15th Dec 2016, 9:50 AM
Uran Kajtazaj
Uran Kajtazaj - avatar
0
or better still... if you have Photoshop on ur device... it has a color picker options that gives out the hexadecimals of them colors... try that too, or "Google search"
16th Dec 2016, 10:11 PM
Paschal Nduleo
Paschal Nduleo - avatar
0
thank...all
30th Dec 2016, 8:43 AM
Pho Thar Lay
Pho Thar Lay - avatar