Color guides
What you need to know to put color on a real interface — choosing a scheme and a brand color, meeting contrast requirements, designing for color blindness, building dark mode and color scales, using gradients and keeping it all organized in code.
How to Choose a Color Scheme for a Website
A practical way to turn a palette into a website color scheme: assign background, text, primary and accent roles, balance them and test the result.
Color Contrast and WCAG: A Practical Guide
What contrast ratios mean, which WCAG levels apply to text, icons and buttons, the mistakes that fail audits most often and how to fix them.
Designing Dark Mode Colors That Work
Why inverting a light theme fails, how to pick dark backgrounds and text, tone down saturated colors and show depth without shadows.
Color Harmony Explained for Interface Design
Complementary, analogous, triadic and split-complementary schemes explained with how each one behaves when you use it on a real interface.
Color Tokens in CSS and Tailwind
How to name and organize color variables by role, wire up light and dark mode in CSS, and use the same tokens in a Tailwind v4 theme.
How to Choose Brand Colors for a Digital Product
Pick a brand color that is distinctive and still works in an interface: one primary hue, the button test, full scales, dark mode and small sizes.
Building Color Scales from 50 to 950
Why HSL makes uneven tint and shade scales, how OKLCH keeps every step consistent across hues, and how to taper chroma and handle tricky hues.
Designing Color for Color Blindness
How color vision deficiency changes what people see, why red and green fail, and practical rules for states, charts and testing your interface.
How to Build a Color Palette from a Photo
How color extraction works, why the most common colors are rarely the best ones, and how to turn photo colors into a usable interface palette.
Using Gradients in UI Without the Muddy Middle
Why gradients turn gray in the middle, how OKLCH interpolation fixes it, and how to keep text readable on gradients and photos without banding.