Export (0) Print
Expand All

CMYK Macro

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

Syntax

COLORREF 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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h

See Also

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

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Community Additions

ADD
Show:
© 2014 Microsoft