|
Here are 216 web color codes. There are a variety of ways to color web sites. These hexadecimal codes can be used in both XHTML and CSS. Decimal color codes can be used in CSS and most graphics tools.
{tab=HEX HTML}
FFF
FFF | CCC
CCC | 999
999 | 666
666 | 333
333 | 000
000 | FFC
C00 | FF9
900 | FF6
600 | FF3
300 | | 99C
C00 |
| CC9
900 | FFC
C33 | FFC
C66 | FF9
966 | FF6
633 | CC3
300 |
| CC0
033 | CCF
F00 | CCF
F33 | 333
300 | 666
600 | 999
900 | CCC
C00 | FFF
F00 | CC9
933 | CC6
633 | 330
000 | 660
000 | 990
000 | CC0
000 | FF0
000 | FF3
366 | FF0
033 | 99F
F00 | CCF
F66 | 99C
C33 | 666
633 | 999
933 | CCC
C33 | FFF
F33 | 996
600 | 993
300 | 663
333 | 993
333 | CC3
333 | FF3
333 | CC3
366 | FF6
699 | FF0
066 | 66F
F00 | 99F
F66 | 66C
C33 | 669
900 | 999
966 | CCC
C66 | FFF
F66 | 996
633 | 663
300 | 996
666 | CC6
666 | FF6
666 | 990
033 | CC3
399 | FF6
6CC | FF0
099 | 33F
F00 | 66F
F33 | 339
900 | 66C
C00 | 99F
F33 | CCC
C99 | FFF
F99 | CC9
966 | CC6
600 | CC9
999 | FF9
999 | FF3
399 | CC0
066 | 990
066 | FF3
3CC | FF0
0CC | 00C
C00 | 33C
C00 | 336
600 | 669
933 | 99C
C66 | CCF
F99 | FFF
FCC | FFC
C99 | FF9
933 | FFC
CCC | FF9
9CC | CC6
699 | 993
366 | 660
033 | CC0
099 | 330
033 | 33C
C33 | 66C
C66 | 00F
F00 | 33F
F33 | 66F
F66 | 99F
F99 | CCF
FCC |
| CC9
9CC | 996
699 | 993
399 | 990
099 | 663
366 | 660
066 | 006
600 | 336
633 | 009
900 | 339
933 | 669
966 | 99C
C99 |
| FFC
CFF | FF9
9FF | FF6
6FF | FF3
3FF | FF0
0FF | CC6
6CC | CC3
3CC | 003
300 | 00C
C33 | 006
633 | 339
966 | 66C
C99 | 99F
FCC | CCF
FFF | 339
9FF | 99C
CFF | CCC
CFF | CC9
9FF | 996
6CC | 663
399 | 330
066 | 990
0CC | CC0
0CC | 00F
F33 | 33F
F66 | 009
933 | 00C
C66 | 33F
F99 | 99F
FFF | 99C
CCC | 006
6CC | 669
9CC | 999
9FF | 999
9CC | 993
3FF | 660
0CC | 660
099 | CC3
3FF | CC0
0FF | 00F
F66 | 66F
F99 | 33C
C66 | 009
966 | 66F
FFF | 66C
CCC | 669
999 | 003
366 | 336
699 | 666
6FF | 666
6CC | 666
699 | 330
099 | 993
3CC | CC6
6FF | 990
0FF | 00F
F99 | 66F
FCC | 33C
C99 | 33F
FFF | 33C
CCC | 339
999 | 336
666 | 006
699 | 003
399 | 333
3FF | 333
3CC | 333
399 | 333
366 | 663
3CC | 996
6FF | 660
0FF | 00F
FCC | 33F
FCC | 00F
FFF | 00C
CCC | 009
999 | 006
666 | 003
333 | 339
9CC | 336
6CC | 000
0FF | 000
0CC | 000
099 | 000
066 | 000
033 | 663
3FF | 330
0FF | 00C
C99 | | 009
9CC | 33C
CFF | 66C
CFF | 669
9FF | 336
6FF | 003
3CC |
| 330
0CC |
| 00C
CFF | 009
9FF | 006
6FF | 003
3FF |
|
{tab=DECIMAL RGB}
255,
255,
255 | 204,
204,
204 | 153,
153,
153 | 102,
102,
102 | 51,
51,
51 | 0,
0,
0 | 255,
204,
0 | 255,
153,
0 | 255,
102,
0 | 255,
51,
0 | | 153,
204,
0 |
| 204,
153,
0 | 255,
204,
51 | 255,
204,
102 | 255,
153,
102 | 255,
102,
51 | 204,
51,
0 |
| 204,
0,
51 | 204,
255,
0 | 204,
255,
51 | 51,
51,
0 | 102,
102,
0 | 153,
153,
0 | 204,
204,
0 | 255,
255,
0 | 204,
153,
51 | 204,
102,
51 | 51,
0,
0 | 102,
0,
0 | 153,
0,
0 | 204,
0,
0 | 255,
0,
0 | 255,
51,
102 | 255,
0,
51 | 153,
255,
0 | 204,
255,
102 | 153,
204,
51 | 102,
102,
51 | 153,
153,
51 | 204,
204,
51 | 255,
255,
51 | 153,
102,
0 | 153,
51,
0 | 102,
51,
51 | 153,
51,
51 | 204,
51,
51 | 255,
51,
51 | 204,
51,
102 | 255,
102,
153 | 255,
0,
102 | 102,
255,
0 | 153,
255,
102 | 102,
204,
51 | 102,
153,
0 | 153,
153,
102 | 204,
204,
102 | 255,
255,
102 | 153,
102,
51 | 102,
51,
0 | 153,
102,
102 | 204,
102,
102 | 255,
102,
102 | 153,
0,
51 | 204,
51,
153 | 255,
102,
204 | 255,
0,
153 | 51,
255,
0 | 102,
255,
51 | 51,
153,
0 | 102,
204,
0 | 153,
255,
51 | 204,
204,
153 | 255,
255,
153 | 204,
153,
102 | 204,
102,
0 | 204,
153,
153 | 255,
153,
153 | 255,
51,
153 | 204,
0,
102 | 153,
0,
102 | 255,
51,
204 | 255,
0,
204 | 0,
204,
0 | 51,
204,
0 | 51,
102,
0 | 102,
153,
51 | 153,
204,
102 | 204,
255,
153 | 255,
255,
204 | 255,
204,
153 | 255,
153,
51 | 255,
204,
204 | 255,
153,
204 | 204,
102,
153 | 153,
51,
102 | 102,
0,
51 | 204,
0,
153 | 51,
0,
51 | 51,
204,
51 | 102,
204,
102 | 0,
255,
0 | 51,
255,
51 | 102,
255,
102 | 153,
255,
153 | 204,
255,
204 |
| 204,
153,
204 | 153,
102,
153 | 153,
51,
153 | 153,
0,
153 | 102,
51,
102 | 102,
0,
102 | 0,
102,
0 | 51,
102,
51 | 0,
153,
0 | 51,
153,
51 | 102,
153,
102 | 153,
204,
153 |
| 255,
204,
255 | 255,
153,
255 | 255,
102,
255 | 255,
51,
255 | 255,
0,
255 | 204,
102,
204 | 204,
51,
204 | 0,
51,
0 | 0,
204,
51 | 0,
102,
51 | 51,
153,
102 | 102,
204,
153 | 153,
255,
204 | 204,
255,
255 | 51,
153,
255 | 153,
204,
255 | 204,
204,
255 | 204,
153,
255 | 153,
102,
204 | 102,
51,
153 | 51,
0,
102 | 153,
0,
204 | 204,
0,
204 | 0,
255,
51 | 51,
255,
102 | 0,
153,
51 | 0,
204,
102 | 51,
255,
153 | 153,
255,
255 | 153,
204,
204 | 0,
102,
204 | 102,
153,
204 | 153,
153,
255 | 153,
153,
204 | 153,
51,
255 | 102,
0,
204 | 102,
0,
153 | 204,
51,
255 | 204,
0,
255 | 0,
255,
102 | 102,
255,
153 | 51,
204,
102 | 0,
153,
102 | 102,
255,
255 | 102,
204,
204 | 102,
153,
153 | 0,
51,
102 | 51,
102,
153 | 102,
102,
255 | 102,
102,
204 | 102,
102,
153 | 51,
0,
153 | 153,
51,
204 | 204,
102,
255 | 153,
0,
255 | 0,
255,
153 | 102,
255,
204 | 51,
204,
153 | 51,
255,
255 | 51,
204,
204 | 51,
153,
153 | 51,
102,
102 | 0,
102,
153 | 0,
51,
153 | 51,
51,
255 | 51,
51,
204 | 51,
51,
153 | 51,
51,
102 | 102,
51,
204 | 153,
102,
255 | 102,
0,
255 | 0,
255,
204 | 51,
255,
204 | 0,
255,
255 | 0,
204,
204 | 0,
153,
153 | 0,
102,
102 | 0,
51,
51 | 51,
153,
204 | 51,
102,
204 | 0,
0,
255 | 0,
0,
204 | 0,
0,
153 | 0,
0,
102 | 0,
0,
51 | 102,
51,
255 | 51,
0,
255 | 0,
204,
153 | | 0,
153,
204 | 51,
204,
255 | 102,
204,
255 | 102,
153,
255 | 51,
102,
255 | 0,
51,
204 |
| 51,
0,
204 |
| 0,
204,
255 | 0,
153,
255 | 0,
102,
255 | 0,
51,
255 |
|
{tab=Decimal Alternatives}
|
Legacy HTML color codes
are in hexadecimal. Today there are alternatives for all hexadecimal color codes in
decimal. (99.9% of browsers in use
support style sheets, according to thecounter.com.) Here
are alternatives for most HTML hexadecimal codes. The features in the
right-hand column are supported by IE and Netscape since version 4. All the features on the left are now deprecated by W3C.
| <basefont color="#A43900">, | | <body style="color:rgb(164,57,0)"> | | <body link="#A43900"> | <style>a:link{ color:rgb(164,57,0) }</style> (in head) | | <body vlink="#A43900"> | <style>a:visited{ color:rgb(164,57,0) }</style> (in head) | | <body alink="#A43900"> | <style>a:active{ color:rgb(164,57,0) }</style> (in head) | | <body text="#A43900"> | <body style="color:rgb(164,57,0)"> | | <body bgcolor="#A43900"> | <body style="background-color:rgb(164,57,0)"> | | <col bgcolor="#A43900"> | <col style="background-color:rgb(164,57,0)"> | | <colgroup bgcolor="#A43900"> | <colgroup style="background-color:rgb(164,57,0)"> | | <font color="#A43900"> | <span style="color:rgb(164,57,0)"> | | (no colored text
backgrounds in HTML) | <span style="background-color:rgb(164,57,0)"> | | (no colored text borders
in HTML) | <span style="border-color:rgb(164,57,0)"> | | (tedious box borders in
HTML–double table) | <div style="border-color:rgb(164,57,0)"> | | <frame bordercolor="#A43900"> | <frame style="border-color:rgb(164,57,0)"> | | <frameset bordercolor="#A43900"> | <frameset style="border-color:rgb(164,57,0)"> | | <hr color="#A43900"> | <hr style="color:rgb(164,57,0)"> | | <iframe bgcolor="#A43900"> | <iframe style="background-color:rgb(164,57,0)"> | | <layer bgcolor="#A43900"> | <layer style="background-color:rgb(164,57,0)"> | | <marquee bgcolor="#A43900"> | <marquee style="background-color:rgb(164,57,0)"> | | <table bgcolor="#A43900"> | <table style="background-color:rgb(164,57,0)"> | | <table bordercolor="#A43900"> | <table style="border-color:rgb(164,57,0)"> | | <td bgcolor="#A43900"> | <td style="background-color:rgb(164,57,0)"> | | <tr bgcolor="#A43900"> | <tr style="background-color:rgb(164,57,0)"> |
To clarify, you can use hexadecimal in style sheet color
codes. Some people chose decimal codes because a lot of
graphics software uses decimal codes only. And even with programs
that prefer hexadecimal codes, decimal is only a click or two away. |
{/tabs} |