ITpris Verktyg

Colours · free, in your browser

Convert HEX to RGB, HSL, OKLCH or CMYK

Type a colour in any format and read it in all the others at once, ready to paste into CSS.

Convert a colour

How to do it

  1. Type or paste the colour into any field of the Colour section in the panel: #3366cc, rgb(51 102 204), hsl(220 60% 50%), an oklch() or a cmyk() value.
  2. The other fields and the big swatch follow as you type. A value that is not a colour is marked until you fix it.
  3. Click Copy next to any format above the picture card to copy it.

Your files stay on this device: Colours runs in your browser, with no upload, no account and no watermark.

Questions

What happens with an OKLCH colour a screen cannot show?

It keeps its lightness and hue and loses chroma until it fits in sRGB; the panel says so.

Is the CMYK value right for print?

It is the simple formula, with no printer profile. Ask your printer for their profile for exact print colours.

Do the values round trip?

Yes: every HEX colour reads back to the same HEX from each format shown.

More with Colours