+ 4
Hexadecimal colors
Hexadecimal color #FFF is same as #FFFFFF. please explain it.
7 Réponses
+ 5
It is just a shortened version. It's kind of like going through 0 - 100 by tens, but instead is going through 0 - 255 by 16's I believe. So for each color R, G, and B (#RGB) you only get 16 different values instead of all 256 for each color. It's usually used to define grey, white, and black because it's much faster and easier to type.
White: #FFF
Grey: #AAA, #666, #EEE, #333, etc.
Black: #000
+ 3
hello @dharmik
0
Stephirio false
- 1
someone knows PHP?
- 1
hii
- 2
No, they aren't. I know that CSS use #FFF like code but in HTML you must use the second option.