Color Examples
In HTML, colors are described by 6-digit numbers,
like "#FFC090". Consider this as three separate
two-digit hexadecimal (base 16) numbers: FF-C0-90.
The first pair of numbers describes intensity of
red light; the second pair describes green light;
the third pair, blue light. Intensity numbers
range from 00 (none) to FF (full). 000000 produces
black; FFFFFF (full intensity of all colors)
produces white. In each pair, the left-hand number
(e.g. "C" in "C0") has greater effect
than the right-hand number; for example, F0 looks
very similar to FF.
| HTML Color Codes |
| Red |
Green |
Blue |
| NNxxxx |
xxNNxx |
xxxx00 |
xxxx30 |
xxxx60 |
xxxx90 |
xxxxC0 |
xxxxFF |
| 00 |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| 30 |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| 60 |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| 90 |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| C0 |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| FF |
00 |
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
C0 |
|
|
|
|
|
|
|
FF |
|
|
|
|
|
|
| NNxxxx |
xxNNxx |
xxxx00 |
xxxx30 |
xxxx60 |
xxxx90 |
xxxxC0 |
xxxxFF |
| Red |
Green |
Blue |
Cyclic Colors
(More or Less) |
|
RxGxBx |
Color |
| R |
FF0000 |
|
| O |
FF8000 |
|
| Y |
FFFF00 |
|
| G |
00FF00 |
|
| B |
0000FF |
|
| V |
FF00FF |
|
| Named Colors |
| Name |
RxGxBx |
Color |
| Black |
000000 |
|
| Navy |
000080 |
|
| Blue |
0000FF |
|
| Green |
008000 |
|
| Teal |
008080 |
|
| Lime |
00FF00 |
|
| Aqua |
00FFFF |
|
| Maroon |
800000 |
|
| Purple |
800080 |
|
| Olive |
808000 |
|
| Gray |
808080 |
|
| Silver |
C0C0C0 |
|
| Red |
FF0000 |
|
| Fuchsia |
FF00FF |
|
| Yellow |
FFFF00 |
|
| White |
FFFFFF |
|