Color Converter
Type a colour in any format, including a CSS name, and see it as HEX, RGB, HSL, HWB, HSV, CMYK, LAB and OKLAB, each ready to copy.
How to convert a colour
Paste your colour
Paste or type it into the box, or press Try an example. Hex, RGB, HSL and more all work.
Read the result
Every value has its own Copy button.
Worked example
This is what Color Converter gives for its own sample values. Open the tool above and change anything to try your own.
Colour
#0f766e
Result
- HEX
- #0F766E
- RGB
- rgb(15, 118, 110)
- HSL
- hsl(175, 77%, 26%)
- HWB
- hwb(175 6% 54%)
- HSV / HSB
- hsv(175, 87%, 46%)
- CMYK
- cmyk(87%, 0%, 7%, 54%)
- CIE Lab
- lab(44.49% -28.8 -3.37)
- CIE LCH
- lch(44.49% 29 186.66)
About Color Converter
Type a colour in any CSS format, including a name such as teal, and see it as HEX, RGB, HSL, HWB, HSV, CMYK, LAB and OKLAB, plus the nearest CSS colour name. Transparency is kept.
FAQs
Which formats can I type?
HEX with 3, 4, 6 or 8 digits, rgb(), hsl(), hwb(), lab(), lch(), oklab(), oklch() and the 148 CSS colour names.
Why do the CMYK values look approximate?
CMYK depends on a print profile. These are the simple screen conversions, not a press-ready match.
Can I check text contrast?
Use Color Contrast Checker.