Using Web Colors
from André Girardeau Virtual World

1st edition



Summary

Introduction
The Color Code Structure
Color Table
Conclusion
 

Introduction

A Web page is much better in color!  If you read the other tutorial on Web pages codes, you learnt how to include color into different Web pages elements.  It's with the hexadecimal color code, formed by 6 characters, each going from 0 to F (0 to 9, then A to F) and making theorically 16,777,216 different colors.  This tutorial will teach you how is formed a color code and how to make colors that you desire.
 

The Color Code Structure

The color code is divided into 3 sections, each formed by 2 characters: red, green, blue.  The meaning of each characters looks like that:
 
#
X
X
X
X
X
X
 
R
R
G
G
B
B

It's also very simple to get the 3 prime colors by giving the FF value to the section of the desired color, then by giving the 00 value to other colors.  Also we can easily make black (no colors) and white (sum of all colors).
 
#FF0000 Red
#00FF00 Green
#0000FF Blue
#000000 Black
#FFFFFF White

Then, it's possible to blend colors to make other colors.  Here is some simple blends:
 
#FFFF00 Yellow
#FF9900 Orange
#FFCCFF Pink
#999999 Gray
#33CCFF Light blue

There is lots of other color possibilities, you just have to refer to the following color table or to make yourself your own blends.
 

Color Table


Conclusion

You know now that placing color on a Web page is quite simple.  However, if you need further help or more information, feel free to take a look at computers forums or to contact me.  If you want, you can send me your comments by using this form.


© 2001 André Girardeau
All Rights Reserved