3BearLabs3Bear Tools
Images

Color Converter: HEX, RGB and CMYK

Type a color in HEX, RGB or CMYK and the other two formats update at once.

Runs in your browser — files never leave this device.

Color Format Converter

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

Live Preview

How to use

  1. Enter a 6-digit HEX value such as #4F46E5, or edit the R, G and B or C, M, Y and K fields.
  2. Watch the other fields and the color swatch update.
  3. Click the copy button next to a format to copy its value.

The converter keeps three representations of the same color in sync. HEX uses six hexadecimal digits with a leading #. RGB uses three numbers from 0 to 255 for red, green and blue. CMYK uses four percentages from 0 to 100 for cyan, magenta, yellow and black. Change any field and the others are recalculated immediately. A large swatch shows the resulting color.

The HEX field updates the other formats once it holds a complete 6-digit value. RGB and CMYK values you type are limited to their valid ranges. The CMYK numbers come from the standard mathematical formula that relates CMYK to RGB. They are not based on a printer or paper profile, so they are good for quick conversions but may not match what a specific press will print. For color-critical print work, convert in software that uses ICC profiles.

The tool starts with the indigo color #4F46E5. Copy buttons next to the RGB and CMYK groups copy those values to the clipboard.

All the math runs in your browser, so nothing is uploaded.

FAQ

Why do my CMYK values differ from my print shop's?

This tool uses a simple formula without a color profile. Real print conversions depend on the ink, paper and profile.

Can I enter a short HEX like #FFF?

The converter expects the full 6-digit form, for example #FFFFFF.

What ranges do the fields accept?

RGB channels are 0 to 255 and CMYK values are 0 to 100.

Does the converter handle transparency?

No. It converts opaque colors only; there is no alpha field.

Is anything stored or uploaded?

No. The conversion happens in your browser.

Related tools