CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS color property




CSS color property set the color of an elements.


Property Values


Properties Value Description
Syntax color:value;
value   Color_Name
  #XXXXXX
  rgb(100%,100%,100%);
  rgb(255,255,255);
Allow to All Elements
Inherited Yes

Example-Code:

<p style="color:orange"> This example is color property for an 
elements. </p>
Online Try This Code Your Self....   »

Example-Result:

This example is color property for an elements.