11/6/09 – HTML Colors

If you have not used color in your HTML document you should try and see that using color can be a good thing. The first thing you  need to know about colors is that there are certain web safe colors just like web safe fonts. The web safe fonts you can enter there names and they will work. You can use any color if you enter in the hexadecimal color number (like white is #ffffff). To change the background color you type in the tag below.

<body bgcolor=#ffffff>

That makes the background color white if you want it black it is #000000 and if you want to pick a color a good website to go to is http://www.colorpicker.com/. Below is how to change the font color to black.


About this entry