About the Color Converter
The Color Converter accepts a colour written as HEX (#5B8DEF), RGB (rgb(91, 141, 239)) or HSL (hsl(220, 82%, 65%)), detects the format automatically, and shows it in every other common format at once.
How to use the Color Converter
- Paste the colour in any supported format.
- Copy the format you need.
Example
From a stylesheet
Paste rgb(16, 185, 129) from a CSS file to get #10B981 for a design tool.
Frequently asked questions
Which formats are detected?
HEX (3, 6 or 8 digits), rgb()/rgba() and hsl()/hsla().
Are named colours like “tomato” accepted?
No. Use the Color Name Finder to look up named colours.
Is alpha kept?
Transparency is not carried over; add it to the output format if you need it.