Color Converter
Convert colours between HEX, RGB and HSL with a live preview.
HEX
#3b82f6
RGB
rgb(59, 130, 246)
HSL
hsl(217, 91%, 60%)
About the Color Converter
Design tools, CSS and image editors all prefer different colour notations. Enter a colour in any supported format and copy it in the one you need.
A large live swatch shows the exact colour so you can verify it at a glance.
How to use the Color Converter
- Enter a HEX value, or use the colour picker.
- Read the equivalent RGB and HSL notations.
- Copy the CSS-ready string.
Examples
| Input | Result |
|---|---|
| #3b82f6 | rgb(59, 130, 246) / hsl(217, 91%, 60%) |
| rgb(0, 0, 0) | #000000 |
Frequently asked questions
Is alpha transparency supported?
Yes — 8-digit HEX values and rgba/hsla output include the alpha channel.
Is my data sent to a server?
No. This tool runs entirely in your browser using JavaScript. Nothing you enter is uploaded, logged or stored by AHRATOOLS.

