Two greys nobody can tell apart. One palette that holds.
Colors drift: a grey picked in the design tool, a slightly different one typed by hand, a label that falls just short on the dark background. The skill finds every color the page really uses, merges the ones nobody can tell apart, fixes what people can’t read, and builds the brand an OKLCH palette for light and dark.
npx skills add c0le0ni/skills --skill coleoni-color
Eighteen colors, two greys twice and a label just short of AA.
I ran the skill on Streak, my browser game at streak.coleoni.com. The page itself came out clean: 11 colors, every text above 4.5:1. The game is drawn on a canvas, so I took its colors from the code and ran them through the same checks: 18 colors in all, the “Streak lost” label at 4.36:1 on the black, and two pairs of greys under ΔE 0.016, each a text grey and a board grey. The same hue a little lighter, #78797D, passes at 4.55:1. I changed the game: the label took #78797D, the board took the text greys, and 18 colors became 16. The palette starts from the brand green, #AEFA0E. Open the report of the live site after the change.
$ node color.mjs https://streak.coleoni.com --out report-en
0 low-contrast pairs, 0 near-duplicate groups, 11 colors
ok report-en/report.html
palette.css
:root {
--primary-50: #F2FAEA;
--primary-100: #E1F3CE;
--primary-200: #AEFA0E; /* brand */
--primary-300: #A0D05E;
…
--primary-950: #162500;
--text-muted: var(--neutral-700);
--accent: var(--primary-700);
--on-accent: #FFFFFF;
}
What it measures.
Every text against its real background, not against white.
| Check | What counts as a problem |
|---|---|
| Contrast | Under 4.5:1 (3:1 for large text), with the closest passing shade |
| Near-duplicates | Colors closer than ΔE 0.016 in OKLab |
| Hardcoded | More than half of the color declarations without a token |
| Accents | More than 6 saturated colors |
| Dark mode | No prefers-color-scheme: dark (worth a look) |
| Palette | OKLCH scales from the brand, tinted neutrals, semantic tokens for light and dark |
One command, any agent.
The only package is playwright-core. Part of the interface family with polish, type and layout.
npx skills add c0le0ni/skills --skill coleoni-color
/coleoni-color https://yoursite.com
-g-a claude-code-a codexnpx skills add c0le0ni/skillsFrom an audit to a dark mode.
Brand colors never change silently: when one fails as text, it stays for surfaces and a darker step does the text.
Audit the colors.
/coleoni-color https://yoursite.com
A palette from the brand.
/coleoni-color --brand "#AEFA0E", tokens and apply
Add a dark mode.
/coleoni-color the app, add a dark mode from the tokens
The engine, from the terminal.
node color.mjs https://yoursite.com --brand "#AEFA0E" --out color-report
| Option | What it does |
|---|---|
--brand "#hex,#hex" | Brand colors for the palette |
--select "main" | Only one part of the page |
--lang en|pt | Language of the report |
Fewer colors, all of them readable.
npx skills add c0le0ni/skills --skill coleoni-color