0

Encoded

CMYK Color
Profile

About CMYK Color

CMYK color is a color model that represents colors with four components: cyan, magenta, yellow, and black (key plate). It is mainly used in printing and desktop publishing, and is based on subtractive color mixing, where colors are produced by layering inks.

In CMYK, each component is represented in the range from 0% to 100%. In general, C, M, and Y represent the color tone, while K represents the amount of black. When all components are 0%, the color is white; when K is 100%, the color is close to black.

ColorCMYK notation
Reddevice-cmyk(0% 100% 100% 0%)
Cyandevice-cmyk(100% 0% 0% 0%)
Magentadevice-cmyk(0% 100% 0% 0%)
Yellowdevice-cmyk(0% 0% 100% 0%)
Whitedevice-cmyk(0% 0% 0% 0%)
Blackdevice-cmyk(0% 0% 0% 100%)

To include transparency, add an alpha value. For example, semi-transparent red can be represented as device-cmyk(0% 100% 100% 0% / 0.5).

Color profiles

DenCode lets you choose from several color profiles. The supported color profiles are listed below.

CMYK color
Color profileCMYK notation exampleNotes
Naive CMYKdevice-cmyk(0% 100% 100% 0%)A simple RGB and CMYK conversion. It does not depend on specific printing conditions or ICC profiles.
U.S. Web Coated (SWOP) v2 (Approx.)color(--swop-v2 0% 98.28% 100% 0%)A CMYK color profile approximating U.S. Web Coated (SWOP) v2.
CRPC5 - SWOP 2013 C3color(--swop2013-c3 0% 94.7% 100% 0%)A CMYK conversion using the SWOP 2013 C3 ICC profile.
CRPC6 - GRACoL 2013color(--gracol2013 0% 93.17% 99.88% 0%)A CMYK conversion using the GRACoL 2013 ICC profile.
FOGRA39 - Coated Fogra39L VIGC 300color(--fogra39 0% 92.77% 99.95% 0%)A CMYK conversion using the FOGRA39 ICC profile.
FOGRA51 - Coated (Approx.)color(--fogra51 0% 97.13% 100% 0%)A CMYK color profile approximating FOGRA51.
FOGRA52 - Uncoated (Approx.)color(--fogra52 0% 97.67% 100% 0%)A CMYK color profile approximating FOGRA52.

CMYK colors using an “ICC profile” or “approximate color profile” are represented in the CSS custom color space format color(--profile C% M% Y% K%). To use them in actual CSS, specify the corresponding ICC profile with @color-profile.

@color-profile --swop2013-c3 {
  src: url("path/to/SWOP2013C3_CRPC5.icc");
}

.foo {
  background-color: color(--swop2013-c3 0% 100% 100% 0%);
}

Approximate color profiles calculate approximate CMYK colors based on published Characterization data. Therefore, even when a similar ICC profile is used with CSS @color-profile, the displayed color may differ slightly.

Difference between CMYK and RGB

CMYK is a subtractive color model for printing inks. In contrast, RGB is an additive color model for light, such as displays. Even for colors that look the same, CMYK and RGB component values can differ greatly.