Named color

noun

say it: “NAYMD KUL-er” /neɪmd ˈkʌlər/

A color CSS knows by an English word, such as tomato, teal or rebeccapurple. There are close to 150 of them.

What is a named color?

A named color is one of about 140 colors CSS knows by name, like red, teal or rebeccapurple.

.badge { background: gold; color: black; }

In a sentence

  • “For a quick test I used the named color tomato, then swapped in the brand's exact hex code later.”

Level: Novice · More CSS terms at this level

Updated