CMYK macro

The CMYK macro creates a CMYK color value by combining the specified cyan, magenta, yellow, and black values.

Syntax

void CMYK(
   c,
   m,
   y,
   k
);

Parameters

c

The cyan value for the color to be created.

m

The magenta value for the color to be created.

y

The yellow value for the color to be created.

k

The black value for the color to be created.

Return Value

None

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wingdi.h

See Also

Basic Color Management Concepts

GetCValue

GetKValue

GetMValue

GetYValue

Macros for CMYK Values and Colors