UI & interactionColour picker: HSV and OKLCH, contrast, eyedropper
A colour picker that does not drift: a saturation × brightness plane or an OKLCH lightness × chroma plane with the edge of sRGB drawn on it, hue and opacity…
A colour-vision lens for any live view, and a palette repair.
Measured 13 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 157, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged CPU 0.40–0.43 ms). What ran: Measured with the split sweeping across the view every frame (the veil’s backdrop filter redrawn, a colour-matrix over about 600 × 440 px) and the whole palette check (ten colours, four visions, CIEDE2000) run every frame. Live, the check runs only when a colour or a control changes. Phones: tiers are being measured next.
| Machine | GPU ms | CPU ms | CPU p95 |
|---|---|---|---|
| RTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900Hreference · measuring tool | not timed | 0.42 | 0.63 |
| apple · Apple A19 Proin a browser tab · 16 November 2026 | not timed | 0.38 | 0.54 |
| Intel Arc 140V (Xe2-LPG) · Intel Core Ultra 7 258Vin a browser tab · 15 November 2026 | not timed | 0.61 | 0.84 |
Bars against one 16.7 ms frame. A browser-tab run is timed in a visible tab without the tool’s scripted input, so read it as close, not exact.
From SpaciousPro. Fully custom code.
Machado, Oliveira and Fernandes, “A Physiologically-based Model for Simulation of Color Vision Deficiency” (IEEE TVCG, 2009): The protan, deutan and tritan matrices at full severity, applied in linear RGB; lower severities blend toward them (an approximation of the paper’s tabulated steps).
CIE 142-2001, CIEDE2000; Sharma, Wu and Dalal, “The CIEDE2000 color-difference formula: implementation notes” (2005): deltaE00 written from the standard and the implementation notes; tested against rows of their test data to four decimals.
Björn Ottosson, “A perceptual color space for image processing” (OKLab, 2020): The OKLab matrices in oklch.ts, as published; the chroma-lowering gamut map is a plain bisection, not his gamut-clipping method.
W3C WCAG 2.2, 1.4.1 Use of Color: The rule the demo’s “shapes as well as colour” switch serves. Guidance, no code.
WAI-ARIA Authoring Practices Guide (W3C): the Slider pattern for the lens’s split handle, and the Radio Group pattern for the demo’s vision switch