PROJECT CODE

                                            The Developers Choice!!!!
                                                                                                            Home | About Us | Contact Us

HTML TUTORIALS

Lecture22 : ColorName

What is HTML ColorName
Colors are keep importance in website to provide a good look, design and feel to your website. We can say that without colors website just like a skeleton. You can specify colors on page level using Color name.

Mountain View
How to use Color Name
<!DOCTYPE html>
<html>
<body>
<h2 style="background-color:red">
Background-color of red </h2>
<h2 style="background-color:orange">
Background-color of orange </h2>
<h2 style="background-color:yellow">
Background-color of yellow </h2>
<h2 style="background-color:blue">
Background-color of blue </h2>
<h2 style="background-color:pink">
Background-color of pink </<h2>
<h2 style="background-color:gray">
Background-color of gray </h2>
<h2 style="background-color:brown">
Background-color of brown </h2>
<h2 style="background-color:cyan">
Background-color of cyan </h2>
<h2 style="background-color:FloralWhite ">
Background-color of FloralWhite </h2>
<h2 style="background-color:GhostWhite ">
Background-color of GhostWhite </h2>
</body>
</html>

Output :

Background-color of red

Background-color of orange

Background-color of yellow

Background-color of blue

Background-color of pink

Background-color of gray

Background-color of brown

Background-color of cyan

Background-color of floralwhite

Background-color of ghostwhite

Note :

Please see the colors list below for your practice reference, Only thing to do write the name or hex value(Please add # in prefix when pick hex value) or RGB value from list.

Mountain View
   
All Rights Reserved with Project code