Skip to content

ContrastingColor

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

Choose the foreground color with better APCA contrast against a background, answered as given: the interpreter keeps the color head the candidate was written with, and a compiled target answers the same color in its canonical form

ContrastingColor(color | string | tuple, (color | string | tuple)?, (color | string | tuple)?) -> coloras compute-engine declares it

Domain: Compute engine