CSS Color Property

Reference on the CSS Color property, includes information on possible values.

The CSS Color property allows to change the color of text.

When choosing colors of text, be sure to carefully test the readability. Some sites are either using to light a text on a bright background, or to dark a text on a dark background.

Possible Values

Read the Colors entry in the reference, to understand possible values.

body {
  color: red;
}

Inherited? - YES!

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.