Colour Converter (HEX, RGB, HSL)
Convert a colour between HEX, RGB, HSL and HSV, with the CSS-ready strings generated for each notation and a live swatch preview.
- Runs in your browser
- Accepts: HEX, RGB, HSL
- Produces: HEX, RGB, HSL
- Free · No sign-up
Loading the tool…
How to use colour converter (hex, rgb, hsl)
- Type a HEX code or adjust the sliders.
- Read all four notations.
- Copy the format your project uses.
Practical examples
Brand indigo
#4f46e5 is rgb(79, 70, 229) and hsl(244, 75%, 59%).
Limitations to know about
- Alpha transparency is supported as an optional 8-digit HEX or an rgba value; HSL output shows opacity separately.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Related tools
All design toolsVersion 1.0.0 · Last updated 2026-12-06 · Processing: local browser