projects

fandeck

2026 · rebuilt
built with
html, css, javascript
fandeck

the chips

the first version was a colour input, a dropdown of harmonies and five swatches to copy, and it went by color scheme generator. the rebuild is named after the fan of paint chips you flip through in a paint store, and it's laid out like one: a field of colour on top, and a white label underneath with a number, a name and a value.

neutral ground

the interface has no colour of its own, because colour gets judged against neutral grey. everything is white, grey and ink, and the only colour on the page is yours. dark mode didn't make it either. it adds nothing to a colour tool.

the picker

the color api takes the colour you pick and returns a palette in the harmony you chose, with a name for every shade. the rest happens in the browser: oklch, wcag contrast, and the exports to css, tailwind and json. the picker is a lightness by chroma square in oklch where every row runs out to the most saturated colour a screen can show, so it's always full and you can't pick outside the gamut.

lock the chips you like, shuffle the rest, and the contrast view checks all 42 pairs at once.

the picker at hues 25, 145 and 265, each lightness by chroma square filled edge to edge
the square at three hues. every row runs to the edge of what a screen can show, so there are no blank corners.
a grid of the palette plus white and black as text on each other, with failing pairs faded and struck through
every colour as text on every other. the pairs that miss aa fade out and get struck through.

the build

the browser app is still plain html, css and javascript, with ten modules loaded directly. a small build copies the static files for deployment, and vercel functions generate cached previews for shared palettes. it fits one screen from an iphone se to a 2560px monitor, and nothing moves while the fonts load.

last updated