Color Converter

Convert between 13 color formats.

Convert between 13 color formats including HEX, RGB and CMYK.

Color converter

Convert between 13 color formats including HEX, RGB and CMYK. Type a HEX code, rgb(), hsl() or a color name, or press the color square.

13 formats

Tap the copy icon next to any value.

How to use this tool (step by step)

Small steps, each with the reason behind it. Perfect for beginners, and a handy checklist for experts.

  1. Enter a color

    • Type a code such as #3A86FF, rgb(58, 134, 255), hsl(217, 100%, 61%) or a name like coral.
    • Or press the color square and choose.
    • The big swatch confirms your color.

    Why we do this: We accept the most common ways people write colors, so you do not need to convert first.

  2. Pick the format

    • Look through the 13 cards.
    • Each card names the format and what it is good for.
    • Press the copy icon next to the one you need.

    Why we do this: Different programs need different formats, so having all of them in one place saves time.

  3. Use it

    • Paste into your design program, code or document.
    • If you need more formats, open Technical Formats or Practical Formats.
    • Use the RGB ⇄ HEX page to see the math step by step.

    Why we do this: Copy and paste avoids typing mistakes in long numbers.

Questions people ask

Quick answers.

Which formats are included?

HEX, RGB, HSL, HSV, HWB, CMYK, CIE XYZ, CIE Lab, CIE LCh, CIE Luv, Oklab, Oklch and YCbCr.

Is CMYK exact?

It is a standard mathematical conversion. Real printers use color profiles, so print results can differ.

Where are Pantone, RAL and NCS?

Those are proprietary color systems. We do not include their codes, because they are licensed and an approximate match could mislead you. We do provide the standard open formats.