Hexadecimal color: in mathematics and computer science, hex = six (A-F) dec = ten (0-9) hexadec=sixteen. (base16)
0 1 2 3 4 5 6 7 8 9 A B C D E F | ||||
0%------------------------------->100% | ||||
R | G | B | ||
#FF | 00 | 00 | Red | |
#00 | FF | 00 | Green | |
#00 | 00 | FF | Blue | |
#FF | 00 | FF | Magenta | |
#00 | FF | FF | Cyan | |
#FF | FF | 00 | Yellow | |
#FF | FF | FF | White | - white is the reflection of every color |
#00 | 00 | 00 | Black | - black is the absence of color |
CSS Note: when you use colors that are three pairs, you can abbreviate each color channel using one character instead of two identical characters.
.orange {color:#ff6600;}
Do this:
.orange {color:#f60;}
See also: ColorMatch for Kids