/coleoni-color

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
View on GitHub
Claude Code, Codex, Cursor, Gemini CLI and more Contrast on real backgrounds OKLCH scales palette.css, light and dark
Two pairs of greys under the ΔE 0.016 limit, each pair joined in a single block: #A0A0A0 from the text against #9B9CA0 from the board (ΔE 0.0139), and #8A8A8A against #85868A (ΔE 0.0143), with the OKLCH value, the source file and which one stays The palette.css the skill wrote: the 11-step scale from #AEFA0E with the brand step outlined, the tinted neutrals with hex, lightness and chroma, and the light and dark tokens applied to a Streak panel with the contrast of each pair A real capture of Streak with the unified values swapped into the game’s code; each color on screen is numbered and tied to its token, the changed values struck through: 18 colors down to 16
Example

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.

terminal
$ 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;
}
18 → 16colors in use
4.36 → 4.55the “Streak lost” label
2grey pairs merged
11steps from #AEFA0E
Checks

What it measures.

Every text against its real background, not against white.

CheckWhat counts as a problem
ContrastUnder 4.5:1 (3:1 for large text), with the closest passing shade
Near-duplicatesColors closer than ΔE 0.016 in OKLab
HardcodedMore than half of the color declarations without a token
AccentsMore than 6 saturated colors
Dark modeNo prefers-color-scheme: dark (worth a look)
PaletteOKLCH scales from the brand, tinted neutrals, semantic tokens for light and dark
Install

One command, any agent.

The only package is playwright-core. Part of the interface family with polish, type and layout.

AgentClaude Code, Codex, Cursor…
Node.js18 or newer
Chrome or Edgealready on the machine
01Install
npx skills add c0le0ni/skills --skill coleoni-color
02Use it in your agent
/coleoni-color https://yoursite.com
For your whole user, not just the project-g
Claude Code only-a claude-code
Codex only-a codex
Every Coleoni skillnpx skills add c0le0ni/skills
Examples

From 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
Options

The engine, from the terminal.

node color.mjs https://yoursite.com --brand "#AEFA0E" --out color-report

OptionWhat it does
--brand "#hex,#hex"Brand colors for the palette
--select "main"Only one part of the page
--lang en|ptLanguage of the report

Fewer colors, all of them readable.

npx skills add c0le0ni/skills --skill coleoni-color