ColorStory Guides
Practical guides to color for design and code
Short, example-led references for using color in interfaces. Each guide links its method to a working ColorStory tool and notes the limits of what the check can tell you.
- How to check color contrast for text and interfaces
WCAG AA and AAA ratios, a reproducible HEX example, and a practical checking workflow.
- OKLCH vs HSL and RGB: why perceptual uniformity matters
Why HSL lightness misleads contrast and gradients, and how OKLCH keeps tonal scales consistent.
- Structuring color tokens in Tailwind CSS v4 (@theme)
Separate semantic UI role tokens from 50–950 scales directly in CSS using @theme.
- Designing accessible dark mode palettes without muddy contrast
Surface elevation steps, off-white ink halation avoidance, and button contrast rules.
- Designing color-blind safe UIs: protanopia, deuteranopia, and tritanopia
How CVD alters status colors and charts, plus a step-by-step simulator workflow.
- Turning photo color extractions into accessible UI palettes
Refine raw dominant pixels from photos into clean surfaces, ink, and brand accents.