Advanced HTML Guide

HTML Colours

These are the Hexidecimal codes for the 216 colours that will not be dithered in any standard browser. The codes are made up of 3 hexidecimal values each which is two digits long. The first Hex value is for Red the second for Green and the third for Blue.

## ## ## = Red Green Blue

You can copy and paste the Hex values straight out of the cells. If you have Paint Shop Pro then you can download a Palette File (1kb) with HTML colours set up and ready to use.

990
033
FF3
366
CC0
033
FF0
033
FF9
999
CC3
366
FFC
CFF
CC6
699
993
366
660
033
CC3
399
FF9
9CC
FF6
6CC
FF9
9FF
FF6
699
CC0
066
FF0
066
FF3
399
FF0
099
FF3
3CC
FF0
0CC
FF6
6FF
FF3
3FF
FF0
0FF
CC0
099
990
066
CC6
6CC
CC3
3CC
CC9
9FF
CC6
6FF
CC3
3FF
993
399
CC0
0CC
CC0
0FF
990
0CC
990
099
CC9
9CC
996
699
663
366
660
099
993
3CC
660
066
990
0FF
993
3FF
996
6CC
330
033
663
399
663
3CC
660
0CC
996
6FF
330
066
660
0FF
663
3FF
CCC
CFF
999
9FF
999
9CC
666
6CC
666
6FF
666
699
333
366
333
399
330
099
330
0CC
330
0FF
333
3FF
333
3CC
006
6FF
003
3FF
336
6FF
336
6CC
000
066
000
033
000
0FF
000
099
003
3CC
000
0CC
336
699
006
6CC
99C
CFF
669
9FF
003
366
669
9CC
006
699
339
9CC
009
9CC
66C
CFF
339
9FF
003
399
009
9FF
33C
CFF
00C
CFF
99F
FFF
66F
FFF
33F
FFF
00F
FFF
00C
CCC
0099
99
669
999
99C
CCC
CCF
FFF
33C
CCC
66C
CCC
339
999
336
666
006
666
003
333
00F
FCC
33F
FCC
33C
C99
00C
C99
66F
FCC
99F
FCC
00F
F99
339
966
006
633
336
633
669
966
66C
C66
99F
F99
66F
F66
339
933
99C
C99
66F
F99
33F
F99
33C
C66
00C
C66
66C
C99
009
966
009
933
33F
F66
00F
F66
CCF
FCC
CCF
F99
99F
F66
99F
F33
00F
F33
33F
F33
00C
C33
33C
C33
66F
F33
00F
F00
66C
C33
006
600
003
300
009
900
33F
F00
66F
F00
99F
F00
66C
C00
00C
C00
33C
C00
339
900
99C
C66
669
933
99C
C33
336
600
669
900
99C
C00
CCF
F66
CCF
F33
CCF
F00
999
900
CCC
C00
CCC
C33
333
300
666
600
999
933
CCC
C66
666
633
999
966
CCC
C99
FFF
FCC
FFF
F99
FFF
F66
FFF
F33
FFF
F00
FFC
C00
FFC
C66
FFC
C33
CC9
933
996
600
CC9
900
FF9
900
CC6
600
993
300
CC6
633
663
300
FF9
966
FF6
633
FF9
933
FF6
600
CC3
300
996
633
330
000
663
333
996
666
CC9
999
993
333
CC6
666
FFC
CCC
FF3
333
CC3
333
FF6
666
660
000
990
000
CC0
000
FF0
000
FF3
300
CC9
966
FFC
C99
FFF
FFF
CCC
CCC
999
999
666
666
333
333
000
000

How to use these HTML Colours

You can use these values in the <font> tag. Below are some examples along with the code used to produce the effect. Note that 'color' is spelt in the American rather than the British way.

Here is some red text

Here is some green text

Here is some yellow text

<font color="#ff0000">Here is some red text</font>

<font color="#00ff00">Here is some green text</font>

<font color="#ffff00">Here is some yellow text</font>

There is a section on our tables page explaining how to add colour to HTML tables.


  The  
Advanced  HTML
Site
Privacy Policy
Advanced HTML Home
Copyright © 1997 - 2014
Hosted by 1&1