<?xml version="1.0" encoding="utf-8"?>

Color names in CSS

Color names in CSS Bad Practice
Color names in CSS Best Practice

So how do you color text in CSS? The simplest way is to use the color property. For a value, you can specify color using HTML color names, like red, green, or yellow or more sophisticated — light salmon, lavender, or aquamarine. Find out more names on the website[1] developed by designers Alex Dixon and Moe Amaya and for designers. The resource also contains a color code converter, color picker, and other stuff that you're likely to use when dealing with color in CSS.

References

Topics

Share

Improve your UX & Product skills with interactive courses that actually work