Color Converter

Paste a colour in any common format – #4338ca, rgb(67, 56, 202), hsl(245 58% 51%) or a CSS name like “teal” – and get it in every other format, ready to copy into CSS, a design tool or a print brief.

How to use Color Converter

  1. Type or paste a colour value, or use the colour picker.
  2. Copy the format you need: HEX, RGB, HSL, HSV/HSB or CMYK.
  3. Check the contrast panel to see whether white or black text on this colour meets WCAG accessibility levels.

About this tool

HEX and RGB describe a colour by its red, green and blue light components (0–255 each). HSL and HSV describe the same colours by hue (the position on the colour wheel, 0–360°), saturation and lightness or value, which is more intuitive for creating lighter, darker or muted variants. All four are different notations for the same sRGB colours, so converting between them is exact apart from rounding.

CMYK is different: it describes ink on paper, and the right CMYK values depend on the printer, paper and colour profile. The values here use the standard simple formula without a colour profile, which is fine for a starting point but not for colour-critical print work – ask your printer for their profile. Bright screen colours, especially vivid blues and greens, often cannot be reproduced in print at all.

The contrast check uses the WCAG 2 formula. Normal text needs a ratio of at least 4.5:1 for level AA and 7:1 for AAA; large text (about 24 px, or 19 px bold) needs 3:1.

Frequently asked questions

What is the difference between HSL and HSV/HSB?

Both use hue and saturation, but in HSL 100% lightness is always white, while in HSV 100% value is the pure colour at full brightness. Photoshop’s HSB is the same as HSV.

What does an 8-digit HEX code mean?

The last two digits are the alpha (opacity) channel: #4338ca80 is the same colour at about 50% opacity. 4-digit short forms like #f008 work the same way.

Why does my printed colour look different?

Screens mix light (RGB) and printers mix ink (CMYK), which covers a smaller range of colours. Convert using your printer’s ICC profile for accurate results.

Is this tool really free?

Yes. There is no sign-up, no daily limit, no watermark and no paid tier. The site is supported by advertising shown on the page, not by charging for the tools.