Convert colors between HEX, RGB and HSL with a live preview.
How to use the Color Converter
Enter a color as HEX, for example #ff8800.
See it converted to RGB and HSL instantly.
Copy whichever format you need.
Frequently asked questions
HEX (#rgb or #rrggbb), RGB and HSL. Enter a HEX value and the others update live.
Not yet — this tool focuses on opaque HEX, RGB and HSL. Alpha support can be added later.
A color converter for web and design work: translate a HEX code into RGB and HSL, with a swatch preview.
Handy for matching colors across CSS, design tools and code. Everything runs in your browser.
Related tools
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, right in your browser.
Convert Unix timestamps to human dates and back — UTC, local, ISO 8601 and relative time. Seconds and milliseconds are auto-detected.
Percent-encode and decode URLs and URL components, UTF-8 safe.
Format, beautify and validate JSON online with clear error messages for invalid input.
We use essential cookies to run the site. With your consent we also load Google AdSense, which sets advertising cookies. See our privacy policy.