# Color converter — HEX ⇄ RGB ⇄ HSL, no upload

> Convert colors between HEX, RGB, HSL, and HSV with a live preview, in your browser. Nothing is uploaded — the values stay in the tab.

Convert colors between HEX, RGB, HSL, and HSV with a live swatch preview. All conversions run in the browser with no network call.

CSS, design tools, and code each favor a different color format, and converting by hand is fiddly. Seeing HEX, RGB, HSL, and HSV side by side with a preview makes it easy to grab exactly the format you need.

HSL in particular makes it intuitive to lighten or shift a hue. To pull a palette from an image, use the Media palette extractor.

## How to

1. **Enter a color.** Type a HEX, RGB, or HSL value, or pick from a swatch.
2. **See all formats.** The equivalent HEX, RGB, HSL, and HSV are shown together.
3. **Copy.** Copy the format your CSS or design tool needs.

## FAQ

### Can it convert HEX to HSL?

Yes. Enter a HEX color and its RGB, HSL, and HSV equivalents appear together, with a live preview so you can confirm the shade.

### Does it support alpha/transparency?

Yes — RGBA and HEX with alpha are supported so you can carry opacity across formats.

### Is anything uploaded?

No. Color math is done locally, so nothing leaves the tab.


## Related tools

- [Palette](https://www.safepaper.app/media/palette-extract)
- [Number base](https://www.safepaper.app/dev/number-base)
- [Hex / ASCII / binary](https://www.safepaper.app/dev/hex-ascii)
- [SVG optimize](https://www.safepaper.app/media/svg-optimize)

---

Canonical HTML: https://www.safepaper.app/dev/color-convert
Markdown: https://www.safepaper.app/dev/color-convert.md

There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check.
