A word about color notation in HTML.
Color is expressed either by name or in hexadecimal notation. There are over 100 colors defined by name, black, white, blue, light blue, etc., but be careful using them since different browsers have slightly different interpretations.
Hexadecimal notation is more exact, but also a little more confusing. Computer
monitors, like TV's, use the RGB color model.
This means they show color based on combinations of Red, Green and Blue light, where the absence of color is black,
and equal parts of all three colors makes white. On high end monitors there
are 255 different levels of each element, making 16.7 million different colors you can show.
However, since there are different brands and qualities of monitors, and different operating systems and browsers handle color in different ways, there are only 216 colors that are common to all computers. These are called "browser safe" colors, and you can find a complete palette on the class floppy as palette.html.
This restriction doesn't apply to photos or things saved as jpg's, which we'll get into more later. For now, what you need to know is how to specify colors for backgrounds and text in a way that will make them show up the same on all systems.
Hexadecimal notation for color is a six digit number, from 000000 (black) to FFFFFF (white), as the numerals in hexadecimal are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, and F. The first two digits are the Red component, the middle two Green, and the last Blue. To get 216 colors, there are only 6 values for each component.
All hex codes can be 00, 33, 66, 99, CC or FF.
You can have FF0000 (total red) or 3399FF (a nice light blue) and so on.
So when you want white text on a black background, you specify: <BODY BGCOLOR="#000000" TEXT="#FFFFFF">, enclosing the hex code in quotation marks and preceding it with the pound sign (#). If you want to use the color name, enclose it in quotation marks, but you don't need the #.
Switch over to Wordpad and open this file (seven.html). Change the hex codes for background and text, save the file as a Text Document, then switch back to Netscape and hit Reload. Try it a few times with different hex codes or color names to see what the colors look like.