CSS : Color Property
The CSS Color property is there to set the color of the text written within this element, in other words it is the fore color.
The value in the color property can be:
· A color name example: blue:
h1
{
color: blue
}
· A hexadecimal number example: #FF0000:
h2
{
color: #FF0000
}
· An RGB value example: (0,255,2):
p
{
color: rgb(0,255,2)
}