Color Converter — HEX, RGB, HSL and OKLCH
Colour converter translates a colour between formats — HEX for CSS, RGB for canvas, HSL for adjusting hue and lightness, OKLCH for perceptually even palettes. Conversion runs locally.
Runs locally · files stay on device · works offline
How it works in 4 steps
- 1
Pick or drop
Select or drag files into the card — loaded directly into local memory.
- 2
Set options
Adjust target KB, format, dimensions or filters with instant feedback.
- 3
Process locally
Canvas, WebAssembly, or Web Crypto completes the job on your device.
- 4
Save result
Download directly; close the tab to clear everything from memory.
When to use this
| Scenario | Recommended | Why |
|---|---|---|
| A design token must become RGB for canvas | Colour Converter | Exact conversion with a preview |
| Lightening a colour without shifting hue | Colour Converter | HSL and OKLCH make that predictable |
| Building a palette that stays even | Colour Converter | OKLCH lightness is perceptually uniform, unlike HSL |
Privacy & Offline Guarantee
Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.
FAQ
Why do designers use HSL instead of RGB?
HSL separates hue from lightness and saturation, so "darker" means changing one number instead of three. But HSL lightness is not perceptually even — yellow at L=50% looks much brighter than blue at L=50%.
What is OKLCH?
A perceptually uniform colour space. Equal lightness steps look equally different to the eye, which makes it good for generating accessible palettes.
Is anything uploaded?
No — pure local conversion.
Something failed, or you wish this tool also did something else? Tell me →
Related Tools
Ready to process your files privately?
Back to tool ↑