[Web Designing 7] How To Use Color Tags In Website Designing

We have gone so far into designing simple websites and believe me, very soon, if you have been following this tutorial, you will become a professional website designer. We will be discussing a very important HTML tag today which makes every website unique in its own way.
Color tags allow you to modify the color of the text that is displayed in the browser window. <BODY TEXT=”blue”> is an example on how to modify the text color if you wish to do so.
In HTML, you can also use color codes to obtain specific colors by using hexadecimal codes. So called hexadecimal triplets correspond to the colors red, green and blue (RGB). Hence, the color tag in hexadecimal will look something like <BODY TEXT=”#000258″>. You can get the color codes and names by following this link. So that I don’t begin to list them here again. Though you can use the name of the color, as in <BODY TEXT =”red”>
You can also use color tags to modify the background color of your website by adding the BGCOLOR attribute. Hence, <BODY BGCOLOR=”#000258″> will change the background color from its default white.

Example 4   

<!—Webpage starts here ->     



<title>All About HTML</title>   


<!—Content starts here –>     

<body bgcolor= “black”>   

<body text=”yellow”>.   

<h1 align=”center”> What is HTML?


<p> HTML is the acronym for HyperText Markup Language </p>   


<!—Content ends here –>


1. It is advisable not to choose striking colors like yellow or pink for your text as these colors tend to be disturbing for the eyes

2. Also, try to use a maximum of 4 slightly matching color tones that correspond to the atmosphere of your website for a better harmonizing result.

3. Do not make awkward color matches like pink text on a blue background for formal websites as it will look odd.Assignment: What is the difference between color tags and its elements?

Leave a Reply

Your email address will not be published. Required fields are marked *