Tools · Color · Color converter
Color converter
Convert a color between HEX, RGB, HSL, and OKLCH, live.
Runs fully in your browser. Nothing is uploaded.
Your file is ready.
Try a different file, or try again.
How it works
Enter or pick a color in any format.
Read its HEX, RGB, HSL, and OKLCH values.
Copy the value in the format you need.
Frequently asked questions
HEX, RGB (and RGBA), HSL (and HSLA), and OKLCH, converting between all four as you type.
A newer CSS color format built for perceptual uniformity, so equal changes in its values look like equal changes in lightness, chroma, and hue - useful for building consistent color scales.
Yes - type or paste a value with alpha (like an rgba() or hsla() color) and it carries through to every other format automatically.
No. The conversion happens entirely in your browser.
Comments