Topic

UI design

Interface design decisions: colour, contrast, accessibility and visual styles.

8 articles

UI design

How to get a colour palette from an image

How palette extractors pick colours from a photo with k-means clustering, why they miss small accent colours, and how to turn the result into an accessible web palette.

4 min read
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

Put it into practice

All tools →