Colors are very important to good look your pages, website etc. HTML Colors are used in Tables, Page Background , Fonts or Text, Borders, etc. 

Font or Text Color

In Font or text color only specific word , paragraph, and heading colored.
We can specify the text color with the following different attribute values.
  1. Color Name
  2. RGB value
  3. Hex Number
Example:- 

This code used in <body> tag to all font.
<font color="orange">   
This code used in specific word.
<h1 style="color:Orange;">HTML Language Study</h1>

Output:-


Background Color

Background color used to specify word , entire page, paragraph background etc.

Example:-

This code used in specific line.
<h1 style="background-color:pink;">HTML Language Study</h1>
This code used in full page.
<body  bgcolor="pink">  

 Output:-


Border Color

Border color used to specify word , entire page, paragraph border etc.

Example:-

This code used in specific word.
<h1 style="border:2px solid Red;">HTML Language Study</h1>
This code used for page border.
<body style="border:2px solid Red;">

Output:-