|
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 older browsers that don't support that color.
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
Color Wizard is another tool that allows you to input any color number or Hex code for a color (not necessarily web safe colors) and then request complimentary colors to go with it for the background or other items on the page.
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.
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.
|
|