The color blog
Practical guides on color formats, accessibility, palettes, OKLCH and modern CSS — for designers and developers.
What Colors Go With Sage Green? 20 Palettes (Hex Codes)
What colors go with sage green? 20 designer-approved palettes with hex codes, live swatches and tips for web, branding and interiors.
Hasan Afzal·How to Build a Custom Tailwind CSS Color Palette (50–950)
Build a custom Tailwind CSS color palette with 50–950 shades. Step-by-step using OKLCH, @theme and design tokens for v3 and v4.
Hasan Afzal·Color Schemes Explained: Complementary, Analogous, Triadic & More
Complementary, analogous, triadic, monochromatic and more — every color scheme explained with examples, hex codes and CSS you can copy.
Hasan Afzal·Complementary Colors: The Complete Guide (with Examples)
What are complementary colors? A practical guide to opposite colors on the wheel, real hex pairs, and how to use them without the clash.
Hasan Afzal·CSS Gradients: How to Create Linear, Radial & Conic Gradients
Learn to create linear, radial and conic CSS gradients — syntax, multi-stop recipes, modern OKLCH interpolation and copy-paste examples.
Hasan Afzal·Dark Mode Color Palette: How to Design One (Step by Step)
How to design a dark mode color palette that is easy on the eyes — surfaces, desaturation, elevation and accessible contrast, with CSS.
Hasan Afzal·How to Choose a Website Color Scheme (with the 60-30-10 Rule)
How to choose a website color scheme using the 60-30-10 rule — pick a base, build harmony, check contrast and ship it as CSS variables.
Hasan Afzal·What Colors Make Brown? Mixing Brown in Paint, RGB & CSS
What colors make brown? How to mix brown in paint (red+yellow+blue), plus how brown works in RGB and CSS hex for screens. With recipes.
Hasan Afzal·Color Psychology: What Each Color Means in Design & Branding
What each color means in design and branding — the psychology of red, blue, green and more, with a quick-reference table and palette tips.
Hasan Afzal·What Is OKLCH? A Practical Guide to CSS's Best Color Format
OKLCH is CSS Color 4's perceptually uniform color space. Learn what it is, how it beats HSL, browser support, and how to use it today.
Hasan Afzal·Accessible Color Contrast: WCAG AA, AAA & APCA Guide
Make text readable for everyone: WCAG AA/AAA contrast ratios, the new APCA method, non-text contrast and a fast color-pairing workflow.
Hasan Afzal·HEX vs RGB vs HSL vs OKLCH: CSS Color Formats Guide
HEX, RGB, HSL or OKLCH? A developer guide to CSS color formats — what each does, when to use it, and how to convert between them.
Hasan Afzal·