Color Converter — HEX, RGB, HSL
Convert a color between HEX, RGB and HSL and see it live. Paste any of the three formats or use the picker, then copy the value you need — it all happens in your browser.
How to use it
- 1Enter a color
Type or paste a HEX, RGB or HSL value, or use the color picker.
- 2Read the conversions
The other formats update instantly, with a live swatch.
- 3Copy
Copy the format you need with one click.
Three ways to write a color
HEX (#0080ff) is compact and common in CSS and design tools. RGB describes red, green and blue channels directly. HSL — hue, saturation, lightness — is intuitive for tweaking a color by hand. This tool keeps all three in sync.
Frequently asked questions
Is my input sent to a server?
No. The conversion runs entirely in your browser; nothing is uploaded.
Which formats are supported?
HEX (3- or 6-digit), RGB/RGBA and HSL/HSLA. Output is shown as HEX, RGB and HSL.
Does it handle transparency?
The picker and conversions focus on the color channels; alpha is not part of the HEX/RGB/HSL output here.
Related tools
Color Picker
Pick any color from an image and get its HEX, RGB and HSL codes. Click anywhere on your photo — runs in your browser, no upload, files never leave your device.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text in your browser with the Web Crypto API. Copy the hex digest — nothing is sent to a server.
UUID Generator
Generate random version-4 UUIDs in your browser — one or many at once, ready to copy. Cryptographically random, nothing sent to a server.