dashboards
Colour blindness palette audit
Generates a six to eight colour chart palette in Oklch from a base colour, applies it to a bar chart and its legend, and simulates protanopia, deuteranopia and tritanopia by collapsing the matching cone in LMS space over linear light. It measures the perceptual distance of every pair in Oklab rather than sRGB, paints the triangular matrix as a heat grid where the failing cells appear as you switch simulation, and repairs the collisions with a relaxation that moves lightness only, because hue is exactly what the simulation destroys, showing each pair before and after plus how far every colour travelled.
See it live and copy its promptWhat you can adjust
- Simulation type
- Distinguishability threshold
- Palette size
- Pair matrix
- Palette base color
- Palette saturation
- Panel height
- Cycle duration
How this catalog works
Every component ships with its reproduction prompt: the text you paste into an AI builder to get exactly this piece. The values above are editable, and the prompt you copy carries the ones you chose, so what gets generated is what you were looking at.
