pick_color
Sample a pixel's actual composited color to verify exact brand hex or check text readability against its background, with WCAG contrast verdict.
Instructions
Sample the ACTUAL painted pixel at a point or element — the composited truth that computed styles cannot give (gradients, background images, opacity stacks, blend modes) — plus the owning element's computed color/background and a WCAG contrast verdict (AA/AAA) of the text against the painted backdrop. Reach for it on 'the color looks off', 'is this the exact brand hex?', 'is this text readable on that background?'. Use at:'top-left' to sample pure background (center may hit a glyph); use explain_styles to find WHICH RULE set a wrong color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport x of the pixel to sample (use with y) | |
| y | No | Viewport y of the pixel to sample (use with x) | |
| at | No | Sample point within the element: 'center' (default; may hit text glyphs) or 'top-left' (2px inside the border — usually pure background) | |
| uid | No | Element uid — samples inside it (see at) | |
| selector | No | CSS selector — first match |