HTML Color

you can specify a color in a web Page by using HTML Color names.

< BODY BGCOLOR=” “></BODY>

OR

<BODY TEXT=” COLOR NAME”>

<HTML>

<HEAD><TITLE>Use of Color</TITLE></HEAD>

<BODY TEXT=”RED”>

<H1>We are working on Color</H1>

</BODY>

</HTML>

Result : –

html text color

 

 

Use of Hex Values :-

<HTML>

<HEAD><TITLE>Hex Code</TITLE>

</HEAD>

<BODY TEXT=” #FF0000″>

<H2>Use of Hex Code Color</H2>

</BODY>

</HTML>

Result :- 

hex code in HTML

 

RGB COLOR:-

<HTML>

<HEAD><TITLE>RGB Color Configuration</TITLE></HEAD>

<BODY TEXT=”rgb(255,0,0)”>

<H1>Use of Rgb Color</H1>

</BODY>

</HTML>

Result :- 

HTML rgb color




Follow Us

Contact Us

tutorialworldin@yahoo.com

Back to Top