Conversion Tools100% Client-Side

Convert CMYK Percentages to Hex

Enter a CMYK recipe to get a six-digit hex code for an approximate screen color. The page first calculates red, green, and blue as 8-bit channels, then writes each channel as a two-digit hexadecimal pair. The result is useful when a digital palette accepts hex values. Compare with a profile-managed preview if the original color came from a print production workflow.

Input
24 chars•1 lines
Output

Reverse tool

Hex to CMYK Color Converter

Turn a three- or six-digit RGB hex color into approximate cyan, magenta, yellow, and black percentages. Compare screen colors with basic ink values.

Open Hex to CMYK Color Converter
Example input
#ff0000
Example output
cmyk(0%, 100%, 100%, 0%)

How to Use the CMYK to Hex Color Converter Online

  1. 1Paste cyan, magenta, yellow, and black percentages in that order.
  2. 2Use spaces or commas between values, keeping each number in the 0 to 100 range.
  3. 3Read the output after the hash sign as three pairs for red, green, and blue.
  4. 4Copy the code to a digital palette or CSS declaration and compare it with the intended swatch.

Input & Output Examples

Zero red and green channels appear as 00, with full blue written as ff.

Input Sample
100, 100, 0, 0
Expected Output
#0000ff

Each RGB channel rounds to 128 and is written as the pair 80.

Input Sample
0% 0% 0% 50%
Expected Output
#808080

Practical Developer Workflows

  • Produce a CSS color literal from approximate ink values supplied with a mockup.
  • Represent a few print-oriented colors in a text file that stores each screen approximation as hex.
  • Build a fixture that includes low channel values to check that the result retains leading zeroes.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Each RGB channel takes two hexadecimal digits. The converter pads a channel below 16 with a leading zero, so even colors with several small channel values retain the full six-digit representation after the hash sign.

Explore Other Tools

12 suggested tools

View all tools