How html color names works
CSS lets you write colors as plain words — rebeccapurple, tomato, lightgoldenrodyellow — instead of hex codes. The named-color palette grew from the 16 basic colors of early HTML (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white and yellow) to the much larger set borrowed largely from the X11 window system, plus rebeccapurple, added by the CSS Color Module Level 4 after a community poll in memory of Rebecca Meyer, daughter of CSS expert Eric Meyer. Today all 148 keywords work in every modern browser, so a name like cornflowerblue is a dependable, readable way to set a color.
This tool lists every keyword with its canonical hex value, the RGB triplet that hex expands to, and a color swatch. The group filter narrows the table to the 16 basic colors, the extended set, or only the alias keywords — names that resolve to the exact same value as another name (cyan equals aqua, magenta equals fuchsia, and the seven "grey" spellings duplicate their "gray" counterparts). The search box matches names, hex codes and rgb() text, so typing "f0f" or "102, 51" narrows the table to the matching entries instantly.
Click a swatch or the Copy button to put the hex code on your clipboard. The RGB values are computed directly from each hex code, so every row is internally consistent by construction. If you need other notations — HSL, 8-digit hex with alpha, or a conversion between systems — the color converter covers that; this reference stays focused on the canonical names and their exact values, which is what you want when writing CSS that a teammate has to read.