Here HTML Tutorial we will learn about
HTML color codes , HTML Colors are hexadecimal triplets representing the colors red,
green, and blue. e.g., in the below example of the color red, you
can notice the color code is FF0000, which is '255' red, '0' green, and
'0' blue.
To change the font color in HTML add the below code to your web page.
Other ways to use these codes is within your BODY statement. This allows you to change the complete page:
TEXT="000000" When used will display all text on page as black.
LINK="#1F00FF" When used will change all links to red.
VLINK="blue" When used will change all viewed links to blue.
BGCOLOR="#ffffff" When used will display the page with a white background.
Finally, while all browsers still support the above font tag
examples you should still consider using
CSS to change the
color of your text, links and other portions of your web page.
Below is an example of how you could use
CSS to change the
colors of text.