Format Code Now
/

HSV to CMYK Converter

CU-22

Type an HSV color such as hsv(30, 100%, 100%) or 30 100 100 and get CMYK percentages, in whole percent or one decimal. One color per line.

Runs in your browser. Nothing is uploaded.

HSV colors, one per line (hsv(30, 100%, 100%) or 30 100 100)

CMYK

How to use it

  1. Type or paste one color per line: hsv(30, 100%, 100%) or hue, saturation and value as numbers.
  2. Choose whole percent or one decimal, and the output style.
  3. Press HSV to CMYK.
  4. Copy the result or download it as a text file.

How the conversion runs

HSV (also called HSB) describes a color by hue as an angle from 0 to 360 degrees, then saturation and value as percentages. The tool first converts it to 8-bit RGB, rounding each channel to a whole number from 0 to 255, and then to CMYK with the plain screen formula. For hsv(30, 100%, 100%) the result is cmyk(0%, 50%, 100%, 0%).

What the rounding means

Because the middle step rounds to 8 bits, a one-decimal CMYK result can differ in the last digit from a direct calculation that skips the RGB step. For whole percent the difference rarely shows. Hue accepts degrees, and values above 360 wrap around the circle, so 390 is the same as 30.

Not a print profile

The CMYK here is the plain formula, with no ICC profile. A printer or a color-managed app will usually choose different ink values for the same color. Use this tool for estimates and for code, and the press profile for print files.

Error messages and what to do

MessageWhat it meansFix
Line 1: "1 2" has 2 values; HSV needs 3An HSV line needs exactly three values: hue, saturation and value.Give all three, for example 30 100 100.
Line 1: "nope" is not a color. Use hex (#rgb, #rrggbb, #rrggbbaa), rgb(), hsl(), hsv(), cmyk() or a CSS color name.The line could not be read as a color.Write the color as hex, rgb(), hsl(), hsv(), cmyk() or a CSS color name.

Questions people ask

Is HSV the same as HSB?

Yes. HSB (hue, saturation, brightness) is another name for HSV (hue, saturation, value). The numbers are the same, so you can paste an HSB color from a design tool straight in.

How do I convert HSV to CMYK?

Convert to RGB first, then divide each channel by 255, set black to 1 minus the largest and derive cyan, magenta and yellow from what is left. The tool does both steps. Type 30 100 100 and it returns cmyk(0%, 50%, 100%, 0%).

What range does hue use?

Hue is an angle in degrees from 0 to 360, where 0 is red, 120 is green and 240 is blue. Saturation and value are percentages from 0 to 100. A hue above 360 wraps around the circle.

Why do I get 0, 0, 0, 100 for black?

A value of 0 makes the color black whatever the hue and saturation are, and black in this formula is cyan 0, magenta 0, yellow 0 and black 100. It is also what you get from rgb(0, 0, 0).

Will a printer match these numbers?

Usually not exactly. The tool uses the plain formula, while printers use ICC profiles for their inks and paper. Treat the result as an estimate and check with a proof when color matters.

Can I use hsl instead?

Not in this tool, which reads hsv, hsb and bare hue, saturation, value numbers. For hex or HSL input, use the RGB to CMYK page, which accepts hsl(), hex and rgb() colors.

About this tool

Hue is an angle in degrees (0 to 360), saturation and value are percentages from 0 to 100. The color is converted to 8-bit RGB first, which rounds each channel to a whole number from 0 to 255, and then to CMYK with the simple screen formula. Because of that rounding, a decimal-precision result can differ in the last digit from a direct calculation. It is not an ICC-profiled conversion, so it will not match what a printer or a color-managed app produces. HSV and HSB are the same model. A bare 30 100 100 is read as hue, saturation, value.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.