CMYK

[This is preliminary documentation and subject to change.]

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

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

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.

See Also

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