Share via


GetKValue

The GetKValue macro retrieves the black color value from a CMYK color value.

BYTE GetKValue(
  cmyk  );

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, CMYK, GetCValue, GetMValue, GetYValue