HTML Colors

Let us go through the attribute with the background color style to make our content more beautiful with the mixture colors.

 

Background Color

RED

BLUE

GREEN

YELLOW

<p style=”background-color: red;”>RED</p>

<p style=”background-color: blue;”>BLUE</p>

<p style=”background-color: green;”>GREEN</p>

<p style=”background-color: yellow;”>YELLOW</p>

 


 

Text Color

RED

BLUE

GREEN

YELLOW

<p style=”color:red;”>RED</p>

 

<p style=”color:red;”>BLUE</p>

 

<p style=”color:red;”>GREEN</p>

 

<p style=”color:red;”>YELLOW</p>

 


 

Border Color

RED

BLUE

GREEN

YELLOW

<p style=”border:2px solid red;”>RED</p>

 

<p style=”border:2px solid blue;”>BLUE</p>

 

<p style=”border:2px solid green;”>GREEN</p>

 

<p style=”border:2px solid yellow;”>YELLOW</p>

 

Footer