The 6-number-and/or-letter combinations are actually 3 pairs of values where RR, GG, BB are the hexadecimal digits specifying the Red, Green, and Blue values of the color. This value is written as #RRGGBB. The number values range from 0 - 9; letter values range from A to F.
Here is an example of a Hexadecimal Color Code:
<FONT COLOR="#0000FF">Here is some example text I want to color</FONT>
The above line of code will display the example text in blue like this:
Here is some example text I want to color
A Color Name is used in this format:
<FONT COLOR="blue">Here is some example text I want to color</FONT>
The above line of code will display the example text in blue like this:
Here is some example text I want to color
Both methods are perfectly legitimate methods of defining HTML colors but the Hexadecimal Color Code system will give you a much wider range of possible color choices.
If you are using a simple text editor like Notepad you can use our handy reference list of Hexadecimal Color Codes and Color Names.
Colored text is an excellent start but a picture is worth a thousand words! Let's add some images to your page: |