color
Used to set the foreground color (font color).
Default color: black
HTML snippet:
<div>
Hello world! This is a sample text
</div>
CSS snippet:
div{
background-color : #e1e1e1;
color : #dd4b39;
}
Output:
The color of the font will be changed to red color.