~/color-picker

CSS named colors to hex

The CSS named color keywords (red, dodgerblue, papayawhip, etc) and their hex equivalents. Worked example with a popular pick.

# conversion

formatforegroundbackground
named dodgerblue papayawhip
hex #1e90ff #ffefd5
rgb rgb(30, 144, 255) rgb(255, 239, 213)

# context

CSS supports 147 named colors. Most are obscure; a handful (red, white, black, transparent, currentColor) cover 95% of use. The named values map to fixed hex codes — convert one and you get a reproducible color in any tool.

→ Open in color picker (pre-filled)

# notes

# other conversions