The Refract Journal

Articles on CSS, design and the web

Practical articles on CSS, interface design and image optimisation, written for people who build websites.

Articles, page 4

UI design

Building a colour palette with OKLCH in CSS

OKLCH lets you build colour palettes with evenly spaced shades and predictable contrast. Here is the syntax, an 11-step scale with real contrast results, and how to use it safely.

4 min read
Web & SEO

Favicon not showing? How to fix it

A favicon that won’t show is usually a cached old icon, a broken link, or Google not having fetched it yet. Here is how to check each one and fix it.

4 min read

Put it into practice

All tools →