Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

color

3 tags 1 category

The color CSS property sets the foreground color value of an element’s text and text decorations, and sets the currentColor value. currentColor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.

For an overview of using color in HTML, see Applying color to HTML elements using CSS.

Values: This property is specified as a single value from the following list:

Values: <color> Sets the color of the textual and decorative parts of the element. currentColor Sets the color to the element’s color property value. However, if set as the value of color, currentColor is treated as inherit.

Syntax example: color: currentColor;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…