How to Add Colour to your Fonts

Here is the HTML for red fonts-

<FONT COLOR="RED">Fonts between these tags will appear red</FONT>

You can experiment with different colours like blue green orange etc


Of course there are many shades of colour that arent covered by the standard colour names. And not all colours appear the same in all browsers. To ensure our colour shows up the same in all browsers, we need to choose a browser safe colour.

You can find the browser safe colours here.

When we use one of these colours as our font colour we dont call it by name, but by a six digit number. You can see the numbers on each of the colours in that link (above).

To make our font the first blue colour in the palette we put the hash (or pound) sign in front of the number like this-

<FONT COLOR="#330066">This font is colour 330066</FONT>

You will find a HTML Practice Board by clicking here