
Text Color Property is used to set the color for the text in the web page.
Syntax:
body{ Color: green; }
You can set the color for the text in the web page by declaring the color colon and color value.You can set the color by three different value.
Color Name by Text.
Hexadecimal Value.
RGB Value.
Example:
Color Name
body{ color: green; }
Hexadecimal Value:
body{ color: #000000; }
RGB Value:
body{ color rgb(201, 0, 0); }