How it works
- A frame is grabbed from the webcam roughly once a second.
- Pixels are quantised into hue / saturation / lightness buckets.
- Buckets are split into low and high luminosity groups.
- Low luminosity colours become backgrounds, high become foregrounds.
Live palette
Camera is off.
Camera preview
The canvas is a small down-sampled copy used for analysis.
Sample content
Every coloured element on this page references one of the
CSS variables that index.js sets on
:root: --bg, --fg,
--accent, --bg-1…--bg-4,
and --fg-1…--fg-4.
A link styled with the accent colour sits next to a .