Look up CSS named colors
CSS defines 148 named color keywords, from everyday red and blue to oddly specific names like lightgoldenrodyellow and rebeccapurple. This tool resolves any of them to its exact hex code and RGB triple, with a live swatch and autocomplete. If you misspell a name, it offers did-you-mean suggestions so you can find the keyword you meant.
How it works
The converter uses the canonical color table from the CSS Color Module Level 4 specification — the same fixed mapping every browser ships. When you type, the input is lowercased and trimmed, then matched against that table for an exact keyword. If there is no exact match, the tool runs a substring search across all 148 names and surfaces up to eight close candidates as clickable suggestions. There is no approximation: each keyword resolves to one specification-defined RGB value.
Example and notes
Typing cornflowerblue returns #6495ed and rgb(100, 149, 237). Both gray and grey resolve to #808080, and the same dual spelling works for darkgray, dimgrey, slategray, and friends. The keyword transparent is a special case — it has no visible color and maps to a fully transparent value. For the reverse direction, finding the closest name to an arbitrary hex value, use the Hex to Nearest CSS Named Color tool.