Color Converter — HEX, RGB & HSL picker in your browser
Pick a color and convert it between HEX, RGB and HSL — all in sync, instantly.
This tool runs entirely in your browser. Your files are never uploaded — they stay on your device.
A quick, reliable way to translate a color between the three formats developers and designers use most. Choose a shade with the picker, or type a value into the HEX, RGB or HSL field — the other formats update the moment you do, with a large live swatch so you can see exactly what you have.
Everything is computed right in your browser with plain JavaScript. There is nothing to install, no account to create and no data sent anywhere.
How to use Color Converter
- Use the color picker, or type a value into the HEX, RGB or HSL field.
- Watch the swatch and the other two formats update instantly to match.
- Tweak any single channel (R, G, B, H, S or L) and the rest stay in sync.
- Click the Copy button next to a format to put it on your clipboard.
Frequently asked questions
Which color formats does it support?
HEX (e.g. #4f46e5), RGB (e.g. rgb(79, 70, 229)) and HSL (e.g. hsl(245, 76%, 59%)). Edit any one and the other two are recalculated automatically.
Is my data sent to a server?
No. The conversions run entirely in your browser using JavaScript. Nothing you enter is uploaded or stored anywhere.
Can I paste a HEX value with or without the # sign?
Yes. Both 3-digit (#abc) and 6-digit (#aabbcc) HEX are accepted, with or without the leading #.
Does it handle transparency or alpha channels?
It focuses on opaque colors in HEX, RGB and HSL. Alpha (RGBA/HSLA) is not converted, so values stay clean and predictable.