Vektor

Colour converter

Type a HEX code with or without the hash. The swatch updates as you type and the other formats are ready to copy into CSS or a print brief.

RGB
-
HSL
-
CMYK, approximate
-

Calculated in your browser. Nothing you enter is sent anywhere.

What you get

  • Short and long HEX codes
  • Live colour swatch
  • CMYK estimate for print briefs

Questions

Why is CMYK only approximate?

Real CMYK depends on the printer, paper and ink profile. This is the plain mathematical conversion.

When should I use HSL?

When you need lighter or darker versions of a colour: change only the last number.

Is #abc the same as #aabbcc?

Yes. The short form doubles each digit.

Read: Building a palette with HSL