The color property is used in CSS and certain HTML tags to specify the color of the text. You can use HTML color codes as well as valid color names.


Value Description
<color> Specifies a valid color name, or color code.

HTML examples:

<span style="color:orange;">ORANGE</span>

That will produce: ORANGE

<span style="color:#FFFF00;">YELLOW</span>

That will produce: YELLOW

CSS example:

h1 {

See Also