Field notes.
Practical ideas for choosing colors, giving them purpose, and making sure the words stay readable.
Palettes in practice
See how the same palette works on a real layout in light and dark.
Give every color a job. ↗
Turn a five-color palette into a useful website system, with explicit roles, a worked example, contrast checks and CSS tokens.
MethodologyWhat a contrast ratio actually tells you. ↗
Understand how we calculate WCAG 2.2 contrast, normal and large text thresholds, exact pass/fail decisions and what the tool cannot verify.
Working with dark colorBuild a dark palette with intention. ↗
Use a worked dark website palette to choose backgrounds, surfaces, readable text and button labels. Includes exact contrast examples and common mistakes.
Working with light colorSoft colors. Clear words. ↗
Use pastel fills without losing readable text. A worked Rosewater palette shows which roles suit pale colors and which pairings need a darker anchor.
TroubleshootingKeep the color. Fix the pairing. ↗
A practical workflow for failing text contrast: identify the pair, change its role, adjust the foreground and verify the actual exported hex color.
A complete worked exampleOne brand. Two considered themes. ↗
Keep a fixed brand hex while building light and dark website tokens. A worked #6750A4 example with actual contrast checks, repair tradeoffs and paired-theme CSS.
Color beyond contrastMake meaning survive a color change. ↗
Inspect website colors under protanopia, deuteranopia, tritanopia and grayscale. Understand the model, compare actual UI roles, and keep meaning visible without color.
From image to interfaceFrom an image to two working themes. ↗
Extract colors from a photo, logo or screenshot in your browser. Choose an exact sampled starting color, build light and dark themes, check contrast and export tokens.
From palette to projectMake the handoff as exact as the colors. ↗
Choose the right website palette export. Keep paired CSS, Tailwind v4, structured DTCG 2025.10 tokens, editable project backups and contrast evidence distinct.
Color relationshipsGive a harmony a purpose. ↗
Compare analogous, complementary, split, triadic and monochromatic color schemes with practical website examples and an interactive color wheel.
Product systemsMake status colors mean something. ↗
Build clear status messages in both themes with explicit labels, measured contrast, custom roles and editable color scales. Includes a worked error-message example.
ChartsChart color palettes for categories, ranges and change ↗
Choose a color system that reflects the data. Label categories and keep the meaningful midpoint visible when the display changes.
AccessibilityReadable text over photos and gradients ↗
A background image can change underneath the same text when the viewport narrows. Design and check the worst supported case.
AccessibilityChecking transparent colors and overlays ↗
Calculate contrast after the color layers have been combined. Use the actual canvas and keep text opacity separate from its panel.
Interface designColor for hover, active, focus and disabled states ↗
Treat each state as a separate pairing. Design for keyboard, touch and mouse before choosing how much a color should change.
Color scalesHow to build a usable tint and shade scale ↗
Start at the extremes, anchor a brand color, and choose intermediate steps around the roles the interface needs.
Color formatsHEX, RGB, HSL and OKLCH in a web workflow ↗
Use a format suited to the edit or handoff, and check the same rendered pair after conversion.
Brand colorHow to keep a brand color that fails text contrast ↗
Keep the approved brand swatch in the project and choose a reading or action role that fits the actual surface.
Palette designChoosing warm and cool neutral colors ↗
Compare near-neutrals beside the material, photography and action color they will frame.
Palette designCreating hierarchy with a monochrome palette ↗
Build a design from one hue by changing the lightness, chroma and amount of color assigned to each role.
Art directionCoordinating photography, typography and color ↗
Choose an image, a reading treatment and a palette together, then test them on content that will actually recur.
ImplementationApplying a palette to Tailwind v4 and shadcn/ui ↗
Transfer semantic colors and their foregrounds together, then check a form and a dialog in both modes.
ProductionTaking a digital palette to print ↗
Carry the design intent from the screen into a print proof with the paper, process and color profile specified.