Body and Background Color & Graphics Setting Background and Text ColorsThe default background color for most browsers is light gray or white. You can change this color fore your Web pages. You can set the background color to any color that can be described with an RGB value. (Color specified by combinations of Red, Green & Blue)
An RGB value is a number made up of three bytes- one each for a red value, a green value, and a blue value- which gives you a palette of more than 16 million colors to choose from. RGB values are expressed in hexadecimal notation. The above table lists the 16 basic color names. You can also control the color of the text in your Web pages. You can set the color for body text, links and links that have already been visited. You can also set the color for the text of an active link; the link a user is clicking on. However, because users can set their browser preferences to view a Web page with a particular text or link color, users will have the final say in how they view your page. The table shown above describes the tags you can use to set text colors.
Font Colors:
Color Charts:
Background Graphics:
In addition to setting background colors, you can also fill the background of your Web page with a graphic. If the graphic you specify is not large enough to fill the entire browser window, the browser will tile( or repeat) your graphic as many times as necessary to fill the entire window. The above table describes the tag you can use to set a background graphic for your Web pages. More extensive notes and examples of background images can be found in my more graphics notes.
[top] This page was last updated on 02/04/2008 by L.M. Hicks
|