XcmsQueryBlack(3)
π XcmsQueryBlack(3) β the XLIB FUNCTIONS girlies
okay so bestie, welcome to the <pink>XLIB FUNCTIONS</pink> corner of the manual. this one's a five-for-one squad of functions that pull pure black, blue, green, red, and white CCC color specs out of the X color engine. no cap, it's giving "color theory but make it C". π¨β¨
π NAME
XcmsQueryBlack, XcmsQueryBlue, XcmsQueryGreen, XcmsQueryRed, XcmsQueryWhite β literally the whole friend group: they obtain black, blue, green, red, and white CCC color specifications. periodt. π
β¨ SYNTAX
all five have the exact same signature, which is lowkey iconic of them:
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. heads up bestie: the CCC's Client White Point and White Point Adjustment procedures are ignored. not consulted. not invited to the group chat. π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. and the value returned in thepixelmember is undefined π so don't go trusting it, fr fr.target_formatβ specifies the target color specification format. that's the whole vibe of it.
π¦ DESCRIPTION
XcmsQueryBlackreturns the color specification in the specified target format for zero-intensity red, green, and blue. that's the void, the darkness, the "no thoughts head empty" of colors. π€XcmsQueryBluereturns the color specification in the specified target format for full-intensity blue while red and green are zero. main character blue energy, everyone else stays home. πXcmsQueryGreenreturns the color specification in the specified target format for full-intensity green while red and blue are zero. slay, nature, slay. πXcmsQueryRedreturns the color specification in the specified target format for full-intensity red while green and blue are zero. she ate and left zero crumbs for the other channels. β€οΈ π₯XcmsQueryWhitereturns the color specification in the specified target format for full-intensity red, green, and blue. all three channels maxed out, all of them invited, the whole rainbow said yes. π€ β¨
π SEE ALSO
XcmsCIELabQueryMaxC(3)XcmsCIELuvQueryMaxC(3)XcmsTekHVCQueryMaxC(3)Xlib - C Language X Interface
π«Ά real talk: every one of these returns aStatus, so check it. and again βpixelmember? undefined. don't build your whole personality on it. π
k bye bestie, xoxo π this page came straight outta X Version 11, shipped with libX11 1.8.14 β dated, iconic, and still serving. ππΈπ§ββοΈ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms