Home » How to change text color in CSS

How to change text color in CSS

by Online Tutorials Library

How to change text color in CSS?

The color property in CSS is used to change the color of the text. The color values can be expressed in RGB color numbers, color keywords, or in hexadecimal color numbers. This CSS property sets the foreground color of the content of an element.

Syntax

Example

Test it Now

Output

How to change text color in CSS


You may also like