Critiques colors in visuals or palettes with objective measurements (area, lightness, hue gaps, chroma, temperature, contrast) and suggests fixes in OKLCH and hex. Routes analysis by use case: graphic, landing page, app, or palette.
Ships in design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A colour critique says what a viewer will feel, proves it with measurements, and gives the exact change that fixes it. An opinion without numbers ("the orange is a bit much") can't be acted on, and a number without a reason ("C 0.21") can't be trusted, so every finding carries both.
Read references/principles.md before the first critique in a session. It holds the reason, the numbers and the fix for every check below.
What does this visual have to do?
├── Stop the scroll or sell one idea at a glance: poster, hero art, ad, thumbnail, cover, social post,
│ packaging → GRAPHIC
├── Express a brand, then lead to one action: landing page, marketing site, onboarding, splash, paywall, email → LANDING
│ The image is only the hero or first screen → run it once as GRAPHIC and check its CTA by LANDING's rules.
│ A full page → run it as LANDING, then measure the hero again as GRAPHIC with --crop.
│ Inside a full-bleed hero, GRAPHIC rules win; below it, LANDING rules.
├── Be used again and again to read, find and act: app screens, dashboards, settings, tools, feeds, forms → APP
└── Only colours: a palette, tokens, a brand sheet → PALETTE. Judge it for each route it will live in.
With no areas given, assume 60/30/10 shares by role and say so, but never judge proportion from your own
assumption, because a split of assumed shares only repeats it: lay the palette onto a stand-in screen
(HTML, rendered with `shot`) and measure that.
Route first, because the same colour is right in one place and wrong in another. A 25% neon accent makes a poster; on a settings screen it is noise. A rule taken from the wrong route produces a confident, wrong critique.
| GRAPHIC | LANDING | APP | |
|---|---|---|---|
| Colour's job | one memorable impression; the accent marks the subject | the brand's feeling in the first viewport, then the way to the CTA | reading, finding, state; content brings its own colour |
| 60/30/10 | 60 field, 30 second colour (type, a second field, the subject's body), 10 accent. An accent that is the subject's own colour may take up to 30%, out of the 30 | 60/30/10 in every viewport; the 10 is the CTA plus one highlight | 60 background, 30 surfaces and text (both neutrals), the primary ≤10% |
| Loudest thing | the subject | the hero subject, then the CTA in every viewport | the primary action, the one thing that changed, or the key data |
| Chroma | pop: accent ≥80% of its hue's ceiling. Calm brief: a muted band | surfaces below the hero C ≤0.06; brand-colour blocks allowed | surfaces C ≤0.03; full chroma only on small interactive elements |
| Text floors, APCA |Lc| | copy that must be read: 60 small, 45 large; display type may be texture | body 75 (60 at least), CTA labels 60 | body 75 (60 at least), secondary 60, informative icons and borders 30 |
| Freedom | clashes, glow, gradients, neon, when the subject motivates them | colour blocking by section, duotone photos, a colour per onboarding step (same L and C, so the steps read as one set) | none beyond the primary and status colours: consistency beats expression |
| Usual failures | accent small, pale or off the subject; two loud colours; flat digital field; everything mid-grey in value | hero palette that stops at the fold; CTA colour spent on decoration; unrelated section colours; ungraded photos | brand colour on large surfaces; several accent hues; neutrals of two temperatures; pale grey text; meaning carried by colour alone |
Then write one line of intent: "A for <what, for whom>, meant to feel ; the eye should land on <the subject, offer or CTA>."
python3 <skill>/scripts/color.py measure <image> --route graphic|landing|app [--accent COLOUR] [--focus BOX] [--crop BOX] [--scale 2] --out DIR
python3 <skill>/scripts/color.py sample <image> BOX [BOX ...]
python3 <skill>/scripts/color.py palette 'field:#0B1026@60' 'type:#BCD4F2@30' 'accent:#B8F01E@10' --route landing [--grade [email protected]] --name NAME --out DIR
python3 <skill>/scripts/color.py contrast <text-colour> <surface-colour>
python3 <skill>/scripts/color.py recolor <image> --map FROM:TO [--region BOX] [--grade [email protected]] [--before ORIGINAL] --out after.png
python3 <skill>/scripts/color.py shot <page.html> --size 1440x900 [--dom --root SELECTOR] --out shot.png
Arguments. A colour is hex or oklch(L C H), each colour its own quoted argument. A BOX is x0,y0,x1,y1, as fractions of the image (0–1) or as pixels. Always pass --out to a scratch folder (the default is the system temp folder).
measure prints the palette by area, the 60/30/10 split, vivid hue peaks, an accent guess, lightness, temperature, the three loudest spots, text contrast per line and flags. It writes <name>.json and <name>.board.png.
--accent.--focus BOX on every CTA and every subject you judge: it ranks that element for loudness and re-reads its label at 3× size, because Vision misses small tracked labels.palette takes roles, which change the checks:
accent/primary/cta/brand form the accent family.success/warning/danger/error/info are status colours, kept out of pop/harmony.content/photo/product are content.peer/series/tag/category are peers, checked for equal L and C.text/ink/label and bg/field/surface/card get contrast printed for every pair.Other role names are taken as plain colours. List every colour that appears in quantity, including the subject's shades, or the echo and family checks misfire. It prints the accent's pairs and any flagged pairs; --all-pairs prints the rest.
sample reads the median colour of a box. Read every designed colour you quote with it. Use it again to compare one patch before and after a fix, because palettes from two measure runs don't line up patch by patch.
shot renders a local HTML file with headless Chrome: stand-in screens, and HTML mocks of a fix. --dom also saves the dom_colors.js JSON beside the PNG.
Websites and web apps. Screenshot at 1440×900 and 390×844, and evaluate scripts/dom_colors.js in the page with any tool that runs JavaScript in a tab. Set window.COLOR_ROOT = "<selector>" first to judge one component and leave out demo chrome; measure then crops the screenshot to that component. Save the returned string as JSON and add --dom file.json. The DOM gives what pixels can't:
It can't see emoji, icon fonts or photos; judge those from the screenshot.
Open the board and look at it. The greyscale panel is the value check, the deuteranopia panel is the colour-blind check (protanopia is checked in the flags), and the numbered boxes are the loud spots.
The script guesses; you decide.
mixed), misses some small labels and can't see emoji. Confirm every pair you report with contrast, on colours read with sample or on the designed values.--scale (image pixels per CSS px) so text is judged at its real size: 1 for a 1× capture, a design export or a generated image; 2 for retina; 3 for most iPhones; 0.5 for a half-size capture.The intent line already says where the eye should land. Before applying any rule, also write these two down:
Note each finding with its numbers. The order is deliberate: a value problem makes hue fixes pointless, and contrast failures outrank taste.
--focus rank of the CTA or subject, with where the eye should land. Two spots ≥45° apart in hue, the second at ≥70% of the first's weight, compete, and both lose. A loud spot on something unimportant (a decorative shape, a badge, the edge of the frame) is a conflict too.Change one channel per fix, picked by what the finding says:
What is wrong?
├── It can't be read or seen, or it is flat in greyscale → move L
│ (the smaller element; move the surface when it sits between L 0.68 and 0.75)
├── It is too loud, out of place or synthetic for what it claims to be → lower C (keep L and H)
├── Two lights, wrong mood, or a temperature clash → turn H 10–25°, or grade the whole design 5–10% toward one colour
└── Nothing leads, or the accent is too big or too small → change areas (crop, scale, what carries the colour), not colours
Change two channels only when the finding names two problems.
palette or contrast before writing them down.recolor.
--region confines a change to one box. For several boxes, chain runs and pass --before with the original.--lwin (0.15–0.35) keeps nearby shades of the same hue out; check the soft edges after.--range when anti-aliased edges keep a fringe.--grade previews the one-light fix.recolor only moves colours that are already there. For a change of shape (filling a button, adding an element), mock it in HTML with shot, or composite it.Open with the intent line in italics. Then:
Verdict: two sentences: what the colour does well, and the biggest problem. If the person asks whether someone else's critique is right, add a short point-by-point answer right after it: agree, disagree or partly, each point with a number. Keep: 1–3 things that work and why, so the fixes don't break them. Fix: ranked by impact, as many as there are real problems (1–6). Each one: what you see (with numbers) → why viewers feel it (the principle, in plain words) → the exact change → what it costs. Anything that stops people reading or operating comes first: copy that must be read, or a control, under its floor. A failing minor caption may sit below a problem that changes the whole read; say why in one clause. Directions: optional, 2–3 palettes with hex and one line each. Numbers: a compact table of colour, role, area share and OKLCH, plus the contrast pairs you quote.
Write in plain words. The first time, say "lightness (value)" and "chroma (how pure the colour is)". Say "complementary" only with the OKLCH gap in degrees and which wheel you mean, because OKLCH puts yellow opposite blue while the painter's RYB wheel puts orange there. When APCA and WCAG disagree on a pair, give both and say which one you judged by and why.
Weak and strong findings:
contrast, not read off the pixel estimate.sample or comes from the design's own values.README.md (opens in a new tab)evals/no-trigger-convert-tokens/graders/not-fired.md (opens in a new tab)evals/no-trigger-convert-tokens/prompt.md (opens in a new tab)evals/outcome-kiln/case.yaml (opens in a new tab)evals/outcome-kiln/fixtures/kiln.jpg (opens in a new tab)evals/outcome-kiln/graders/values.md (opens in a new tab)evals/outcome-kiln/graders/verdict.md (opens in a new tab)evals/outcome-kiln/prompt.md (opens in a new tab)evals/trigger-comment-clash/graders/fired.md (opens in a new tab)evals/trigger-comment-clash/prompt.md (opens in a new tab)evals/trigger-muddy-palette/graders/fired.md (opens in a new tab)evals/trigger-muddy-palette/prompt.md (opens in a new tab)examples/halfpeel.jpg (opens in a new tab)references/principles.md (opens in a new tab)scripts/color.py (opens in a new tab)scripts/dom_colors.js (opens in a new tab)scripts/ocr.swift (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/design:charles-color-analysisfrom design
npx claudepluginhub lemonface0309/charles-skills --plugin design8 skills in this plugin
/charles-create-graphicsMakes posters and stamps that look printed, from real plates and photographs with live type: botanical, space age (NASA photos), Japanese Swiss (a red sun), neo-Swiss (grotesk, grain), sports micrographics (a giant number, tiny technical marks) or two looks fused, with foil or chrome on request. Use for a botanical, space, Japanese, Swiss, brutalist or sports poster, two styles in one poster, or a stamp. Not for a one-idea brand poster, a logo or a screen./charles-design-principlesBuilds and critiques UI on principles: few alignment lines, optical spacing, one style and one temperature, OKLCH colour, type by role, clean layers (fades, blends, masks, shadows), every state mapped, no visible waiting. Use when designing, building or critiquing a screen, component or design system, even one that just looks off. AI-looking UI goes to charles-unslop; finishing to charles-polish./charles-polishTakes a working interface from fine to exceptional: names the weakest thing, fixes the invisible details (states, hit areas, contrast, layout shift, type) and makes motion correct, checked frame by frame. Use when a screen works but feels off or unfinished, or to polish or review UI, motion, easing, or hover and press states. A screen that still looks AI-made goes to charles-unslop first./charles-store-screenshotsDesigns and renders App Store and Google Play screenshot sets that compete on the store: a two-frame hook, frames that read as one world, one signature move, real app UI at its best moment and one brand style, built in HTML from real captures and rendered to each store's exact sizes. Use when someone wants store screenshots, concepts or variations, a redesign of a set, or a critique of one./charles-unreasonable-craftAward-level web/app design, no AI slop. Use when the user wants design that could win Awwwards Site of the Day or an Apple Design Award, says it should "wow" or look stunning, premium, or world-class, says it can't look AI-made, or asks for a site, landing page, app screen, prototype, redesign, animation, or polish pass held to that bar. Not for routine UI fixes or small tweaks./charles-unslopTurns AI-looking UI into a designed interface with a point of view: audits the tells, writes a direction from the product, deletes before restyling, fixes copy, layout, spacing, type, colour and icons, then adds one moment only it could have. Use when a screen looks AI-generated, vibe-coded or generic, or to unslop agent-built UI. A designed screen that needs finishing goes to charles-polish.Other plugins' skills for the same job