Skip to content

Latest commit

 

History

History
105 lines (72 loc) · 1.36 KB

ns-icm-color.md

File metadata and controls

105 lines (72 loc) · 1.36 KB
UID title tech.root description ms.date targetos req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:icm.tagCOLOR
COLOR
wcs
Description of the COLOR union.
02/01/2021
Windows
structure
icm.h
Windows 2000 Professional \[desktop apps only\]
Windows 2000 Server \[desktop apps only\]
COLOR
apiref
HeaderDef
icm.h
tagCOLOR
COLOR
tagCOLOR
icm/tagCOLOR
COLOR
icm/COLOR
c++

-description

Description of the COLOR union.

-struct-fields

-field gray

TBD

-field rgb

TBD

-field cmyk

TBD

-field XYZ

TBD

-field Yxy

TBD

-field Lab

TBD

-field gen3ch

TBD

-field named

TBD

-field hifi

TBD

-field reserved1

TBD

-field reserved2

TBD

-remarks

A variable of type COLOR may be accessed as any of the supported color space colors by accessing the appropriate member of the union. For instance, given the following variable declaration:

COLOR aColor;

the red, green and blue values could be set in the following manner:

aColor.rgb.red=100;

aColor.rgb.green=50;

aColor.rgb.blue=2;

-see-also