Skip to content

Color Converter

Convert between HEX, RGB, HSL, and CMYK color formats instantly.

Runs locally in your browser — nothing is uploaded.

Input format
#rrggbb or #rgb
Color preview
#3b82f6
rgb(59, 130, 246)
All formats

How it works

  1. Step 1Choose an input formatPick HEX, RGB, HSL, or CMYK - whatever value you have.
  2. Step 2Enter your colorEvery other format converts instantly as you type.
  3. Step 3Copy any formatGrab the value you need for CSS, print, or design work.

Frequently asked questions

What's the difference between RGB and HSL?

RGB defines color by red/green/blue light mix (0-255 each). HSL defines it by Hue (0-360°), Saturation (0-100%), and Lightness (0-100%) - more intuitive for color adjustments.

When would I use CMYK?

CMYK is used in print design. If you're sending something to a printer, they'll likely need CMYK values. RGB is for screens, CMYK is for paper.

Which input format should I choose?

Any of them - the tool auto-converts to all other formats. Pick the one you already have: hex codes from a color picker, rgb() from CSS, or CMYK from a print document.

Why does my HEX look different on another screen?

Screen calibration varies. What looks like #3b82f6 on your monitor may appear slightly different on another. This is normal - no screen displays color identically.

Related tools