Color Converter
Convert any color between HEX, RGB, HSL, HSV, CMYK and OKLCH. Type it in any of those forms.
How it works
Type a colour in any form (HEX, rgb(), hsl() or a name) and see it in HEX, RGB, HSL, HSV, CMYK, HWB, CIE Lab, CIE LCH, OKLab and OKLCH, ready to copy.
Worked example
Pure red #ff0000 is rgb(255, 0, 0), hsl(0, 100%, 50%), and in CIE Lab it is about 53.24, 80.09, 67.20.
Good to know
- HEX with 8 digits adds transparency, like #ff000080.
- OKLCH and OKLab are made so equal steps look equal to the eye, which makes them good for generating palettes.
- CMYK here is the simple screen formula, not a print profile.
Common questions
- What is the difference between HSL and HSV?
- Both use hue and saturation. HSL uses lightness, where 50% is the pure colour. HSV uses value, where 100% is the brightest.
- Can I use OKLCH in CSS?
- Yes, in current Chrome, Edge, Safari and Firefox.
- Does the picker send my colour anywhere?
- No. The conversion happens in your browser.