CodeChroma Colour-rich code for UK makers

CodeChroma

Colour-rich code for UK makers

Latest Articles

The Judge's Table: A Rosette-Inspired Ranking System That Keeps Colour in Its Place
Accessibility & Colour Systems

The Judge's Table: A Rosette-Inspired Ranking System That Keeps Colour in Its Place

A ranked data table can borrow the quiet hierarchy of a British village show: red, blue, yellow and green ribbons, cream schedule cards and judge's slips. This system turns that familiar prize-giving palette into semantic tokens, then makes sure the medal is always readable in words, not just colour.

Behind Every Flap: A 24-Door Advent Palette That Welcomes Every Visitor
Accessibility & Colour Systems

Behind Every Flap: A 24-Door Advent Palette That Welcomes Every Visitor

Traditional UK advent calendars are a masterclass in tiny, colour-rich theatre. This year we turn their foils, inks and chocolate-box papers into a 24-door OKLCH token set that works by keyboard, survives dark mode and knows when to stop shimmering.

Steeping the Spinner: A Tea-Rack Colour Ramp for Loading States
Accessibility & Colour Systems

Steeping the Spinner: A Tea-Rack Colour Ramp for Loading States

A builder’s brew already comes with a ready-made scale from pale straw to over-stewed mahogany. Here’s how to sample it, name it, test it in light and dark mode, and ship a small progress component that feels properly British without sacrificing contrast.

Roll Up, Roll Up: A Fete-Ready Tombola Ticket Press for Screens and Cheap Printers
Accessibility & Colour Systems

Roll Up, Roll Up: A Fete-Ready Tombola Ticket Press for Screens and Cheap Printers

A practical, colour-rich build for a village-fete tombola ticket generator — bunting stripes, raffle pink and cake-stand cream turned into an OKLCH palette that stays legible on screen and on a home printer. It covers repeatable serials, print CSS and contrast checks that survive the village hall lighting.

Pastel Paper, Hard Numbers: A Sweet-Shop Gradient Library That Survives Dark Mode
Accessibility & Colour Systems

Pastel Paper, Hard Numbers: A Sweet-Shop Gradient Library That Survives Dark Mode

Vintage UK sweet wrappers are a colour archive, not a design system. This guide turns pear drops, aniseed balls and sherbet fountains into a CSS gradient library with OKLCH tokens, dark-mode swaps and contrast checks that keep the nostalgia without the kitsch.

The Legend Is the Interface: A Cartographic Colour System for Accessible Web Controls
Accessibility & Colour Systems

The Legend Is the Interface: A Cartographic Colour System for Accessible Web Controls

British map legends already behave like a design system: brown contours, green woodland, red access land and blue water. This piece turns those cartographic cues into an OKLCH token set, checks the contrast, and builds a small SVG legend that stays readable as it shrinks.

Sett in Stone: Building a Tartan Designer That Obeys the Thread Count
Colour Inspiration

Sett in Stone: Building a Tartan Designer That Obeys the Thread Count

A browser-based tartan designer is mostly a list, a mirror and a modulo operation — but the details are where it earns its keep. Here's how to expand a sett into a proper 2/2 twill weave in SVG or canvas, catch the halving-and-doubling mistakes before they ship, and handle named setts with the care they deserve.

Flicking the Switch: A Tabletop-Football Palette That Survives Tiny Screens
Accessibility & Colour Systems

Flicking the Switch: A Tabletop-Football Palette That Survives Tiny Screens

Vintage tabletop football gives us claret, amber, sky blue and referee black — a joyful palette that can go badly wrong on a 12px badge. Here is how to turn those strips into tokens, check contrast for tiny UI, and build a CSS Grid pitch with a procedural match-day scene that stays readable.

Mooring Lines and Contrast Ratios: A Canal-Boat Palette for the Web
Accessibility & Colour Systems

Mooring Lines and Contrast Ratios: A Canal-Boat Palette for the Web

Traditional narrowboat livery is a confident British colour system hiding in plain sight. Here is how to sample its maroon, cream, teal and mustard, turn them into reusable OKLCH tokens, and keep the result usable well beyond the towpath.

The Virtual Signwriter: Coach-Enamel Colours in p5.js
Colour Inspiration

The Virtual Signwriter: Coach-Enamel Colours in p5.js

Pub signs are a masterclass in working colour: cream grounds, gold leaf, Brunswick green and a red that means business. Here is how to turn that palette into a p5.js generative sign painter, with brush-like strokes, SVG export and contrast checks that stop the whole thing turning to mush on a phone screen.

Galvanised, Gaffer and Grit: A VS Code Theme Sampled from the British Workshop
Accessibility & Colour Systems

Galvanised, Gaffer and Grit: A VS Code Theme Sampled from the British Workshop

A practical walkthrough for turning galvanised steel, creosoted timber, terracotta pots, masking tape and safety orange into a VS Code theme that stays readable through long coding sessions. We cover real-world sampling, OKLCH conversion, token mapping and contrast testing for light and dark variants.

Jewel Tones Behind the Lead: A Stained-Glass Palette Generator for the Web
Colour Inspiration

Jewel Tones Behind the Lead: A Stained-Glass Palette Generator for the Web

UK church windows are hand-built colour systems: saturated glass, black lead lines and a rhythm you can read from across the nave. This tutorial turns that structure into a small browser palette generator that outputs OKLCH tokens you can actually use.

Kerbside Signals: A Dark-Mode Token Set Built from UK Street Colours
Accessibility & Colour Systems

Kerbside Signals: A Dark-Mode Token Set Built from UK Street Colours

UK street furniture already has a working colour language: postbox red, Belisha amber, motorway blue and the grey of municipal kit. This walkthrough turns those cues into semantic CSS tokens, checks them against WCAG contrast targets and adjusts the ramp for dark mode without losing the civic signal.

Accessibility & Colour Systems

Blocky, Bright and Still Accessible: A Teletext Palette for Canvas in 2026

Ceefax's eight-colour palette is a shortcut to instant recognition, but pure teletext colours were never designed for WCAG. This guide rebuilds the mode-7 look in Canvas with OKLCH tokens, automatic contrast checks and a few responsible-use rules for UK maker sites.

Bulbs, Bloom and Budget: Coding a Piccadilly Marquee That Glows Without Melting the GPU
Colour Inspiration

Bulbs, Bloom and Budget: Coding a Piccadilly Marquee That Glows Without Melting the GPU

A practical WebGL build for a West End-style theatre marquee, covering warm bulb colour, instanced geometry, human-looking failures, reduced-motion fallbacks and a performance budget that keeps the glow on a mid-range laptop.

Ten High-Street Colour Recipes, From Chip Paper Cream to Chemist Cross Green
Accessibility & Colour Systems

Ten High-Street Colour Recipes, From Chip Paper Cream to Chemist Cross Green

A colour-rich audit of ten familiar UK shopfront types, turned into practical CSS custom-property palettes and tested for contrast without tipping into nostalgic pastiche.

Forecast-Driven Hues: Wiring Live UK Weather into an OKLCH Sketch
Accessibility & Colour Systems

Forecast-Driven Hues: Wiring Live UK Weather into an OKLCH Sketch

A practical walkthrough for pulling UK forecast data into a small JavaScript or p5.js sketch, then mapping rain, temperature and wind into a restrained OKLCH palette. Includes API-key handling, sensible caching, and fallbacks for when the feed — like the weather — refuses to cooperate.

Departures, Dyes and Data: Turning UK Rail Ephemera into CSS Palettes
Colour Inspiration

Departures, Dyes and Data: Turning UK Rail Ephemera into CSS Palettes

Orange-banded tickets, amber departure boards and folded timetable cards are accidental colour systems built for function. Here are five found palettes from UK rail ephemera, plus a small browser tool for sampling your own and turning them into accessible CSS custom properties.

Colour Inspiration

Blue from Woad, Red from Madder: Mixing Britain’s Dye Garden in GLSL

Woad, madder and weld are not Pantone chips, and a shader is not a dye vat. But translating historic British dye colours into GLSL is a useful exercise in restraint, spectral honesty and knowing when digital mixing lies to you.

When the Sky Clocks Off Early: A Seasonal Palette for UK Websites
Accessibility & Colour Systems

When the Sky Clocks Off Early: A Seasonal Palette for UK Websites

Fixed light and dark modes treat the British day like a switch, but our winters fade by mid-afternoon and our summers stretch past nine. Here is a small, accessible system for shifting palette temperature and contrast with the sun — without turning your site into a gimmick.