FANDOM


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.

Values

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 {
     color:orange;
}

See Also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.