Sign in

File tools that never upload your files

Color converter

Copied a HEX colour from a design and need it as RGB for CSS, HSL for a theme or CMYK for print? Type it or pick it, and copy every format. The conversion runs in your browser on your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Enter a colour

    Type HEX, rgb() or hsl(), or use the colour picker.

  2. 2

    See every format

    HEX, RGB, HSL and CMYK appear with a swatch.

  3. 3

    Copy

    Copy the format you need with one click.

Why work without uploading

CSS-ready

Results are written as CSS values you can paste into a stylesheet.

Picker included

Choose a colour visually when you do not have a code yet.

Instant

Results update as you type.

Good to know

HEX and RGB describe the same screen colour in two notations; HSL describes it by hue, saturation and lightness, which is handy for making lighter or darker shades of a brand colour. Short HEX codes such as #f80 and codes with transparency are understood.

CMYK is calculated with a simple formula without a colour profile. It is a good starting point for print, but a print shop's profile can give slightly different values; for exact brand colours in print, use the shop's conversion or a Pantone reference.

The swatch shows the colour as your screen displays it.

Questions and answers

Which formats can I type?

HEX (#rgb or #rrggbb), rgb() and hsl().

Is the CMYK value print-exact?

It is a profile-free approximation; print shops may adjust it.

Is anything uploaded?

No. Colours are converted in your browser.

Are transparent colours supported?

Yes. 8-digit HEX, rgba() and hsla() values with transparency are understood.