|
In order to provide a plain color background you just need to put the code for the color in your body tag , table tag or wherever color can be specified, as shown below. Be sure and include the Pound sign (#) and quotes around the number. The hexadecimal color number for web safe colors can be found in the chart below.
<body bgcolor="#333366">
Web Safe Hexadecimal Color Chart
The colors in the Web Safe Hexadecimal Color Chart
should display correctly on all browsers. You can use colors that are not on this chart but then you may get a weird color on some browsers that don't support that color so just because it looks good on your computer doesn't mean it will everywhere else so best to stick to these web safe colors for background and font colors.
Color Picker is a NEAT online tool that allows you to pick a background color from a web safe color chart, then choose text colors, link colors, compare them to a graphic, etc. and see them displayed online as they are chosen. Color Picker also provides the related code to put in your body tag. It also has a downloadable version to use offline
Use Contrasting Font and Text Colors
Please keep in mind that text colors on a light background will need to be very bold and in a dark color, or very light color if on a dark background (if you want a background in a plain color use the color chart above also). Also keep in mind those with color blindness, i.e., medium green on a medium red background may look all the same color to someone who is color blind.
Manipulating Background Textures
The first set of textures shown below are of waves. This texture, along with many others, can be changed into different colors. The texture samples below will give you an idea of what can be done with the images. You can see how the gray wave pattern looks as a background with text over it on Endtime Poetry.
How to apply a Background Image to your Web page
Put the following code for a background image in the body tag of your page:
background="Put_Name_Of_Image_Here.jpg"
Or put the following in your CSS file for a background image:
background-image:url(BackgroundImageNameGoesHere.gif);
background-repeat:repeat;
If you've done it correctly this one image will spread horizonally and vertically throughout your page. Click on the images below to see how each image looks on a full page.
|
|