|
Introduction
Named Colors, also called Common Color Names (referred to as CCN in this article) are the one hundred forty browser-supported colors. They can be used as alternatives to RGB/RGBA and Hex Codes. CCNs can be used in HTML, CSS, and WikiText. Named Colors are always one word, and can have variations (though not all variations are supported), such as gray/grey.
Full list
For a full list of color code names, go to HTML color codes (external) site. There, you will also find the colors in RGB and Hex. There are many other places you can get color code names from, but I find this one most helpful, as it has RGB and Hex as well as the CCN.
Here is a preview of all the named colors:
Examples
To use a CCN, simply go to the above link and choose a color. Then, use it in a color attribute, such as text color, or background. Below are some examples:
A MediumSlateBlue text color
A DarkMagenta Background with a white text color
A MediumSpringGreen text shadow.
A MediumBlue Border
A MediumSpringGreen, MediumBlue, DarkMagenta, and MediumSlateBlue linear gradient border
A MediumSpringGreen, MediumBlue, DarkMagenta, and MediumSlateBlue text gradient



