Add color to your font

Changing the color of your font is very simple, you just add the tag color to the <font> tag.
If we wanted to change the color of the font to red, then the code would look like:

<font color="red">The font is red!</font>

You can see that we use the <font> tag and the color variable is added and to change the font to the red color, just type in red in the double quotes "". To use another color, just replace red with whichever color you want, such as blue, green, yellow, orange, etc.

The output of the tag above would be:

The font is red!

Other than typing in the color word, we can use hex codes. Hex codes are made of 6 digets and they define a color, each color has a different hex code. The hex code #000000 is black the hex code #ffffff is white. Red is #ff0000 so let's use that in our code:

<font color="#ff0000">The font is red!</font>

To get:

The font is red!

*NOTE* if you don't use the # (number sign) the code will not work, so if you use hex codes as your color, remember to use the #.

Copyright Brains That Work .
Theme by Pool theme design by Borja Fernandez. ^Top^