Share via


CMYK

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

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

Requirements

**  Windows NT/2000/XP/Vista:** Included in Windows NT 4.0 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Wingdi.h.

See Also

Basic Color Management Concepts, Macros for CMYK Values and Colors, GetCValue, GetMValue, GetKValue, GetYValue