---
name: "XcmsQueryBlack"
section: "3"
platform: "linux"
package: "libx11"
version: "1.8.14-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XcmsQueryBlack"
---

# XcmsQueryBlack(3)

obtain black, blue, green, red, and white CCC color specifications

## NAME

XcmsQueryBlack, XcmsQueryBlue, XcmsQueryGreen, XcmsQueryRed, XcmsQueryWhite - obtain black, blue, green, red, and white CCC color specifications

## SYNTAX

Status XcmsQueryBlack(XcmsCCC *ccc*, XcmsColorFormat *target\_format*, XcmsColor \**color\_return*);

Status XcmsQueryBlue(XcmsCCC *ccc*, XcmsColorFormat *target\_format*, XcmsColor \**color\_return*);

Status XcmsQueryGreen(XcmsCCC *ccc*, XcmsColorFormat *target\_format*, XcmsColor \**color\_return*);

Status XcmsQueryRed(XcmsCCC *ccc*, XcmsColorFormat *target\_format*, XcmsColor \**color\_return*);

Status XcmsQueryWhite(XcmsCCC *ccc*, XcmsColorFormat *target\_format*, XcmsColor \**color\_return*);

## ARGUMENTS

- *ccc*

  Specifies the CCC. Note that the CCC's Client White Point and White Point Adjustment procedures are ignored.

- *color\_return*

  Returns the color specification in the specified target format. The white point associated with the returned color specification is the Screen White Point. The value returned in the pixel member is undefined.

- *target\_format*

  Specifies the target color specification format.

## DESCRIPTION

The **XcmsQueryBlack** function returns the color specification in the specified target format for zero-intensity red, green, and blue.

The **XcmsQueryBlue** function returns the color specification in the specified target format for full-intensity blue while red and green are zero.

The **XcmsQueryGreen** function returns the color specification in the specified target format for full-intensity green while red and blue are zero.

The **XcmsQueryRed** function returns the color specification in the specified target format for full-intensity red while green and blue are zero.

The **XcmsQueryWhite** function returns the color specification in the specified target format for full-intensity red, green, and blue.

## SEE ALSO

[**XcmsCIELabQueryMaxC**(3)](/XcmsCIELabQueryMaxC/3.md), [**XcmsCIELuvQueryMaxC**(3)](/XcmsCIELuvQueryMaxC/3.md), [**XcmsTekHVCQueryMaxC**(3)](/XcmsTekHVCQueryMaxC/3.md)\
 *Xlib - C Language X Interface*
