Colour Analysis & Critique (charles-color-analysis)
Critiques the colour of images, web pages and palettes with OKLCH/APCA measurements, exact fix values and before/after previews.
Design & UIIntermediate★ 409⑂ 33AI score 9/10Last updated: Dec 3, 2026
What it does
- Routes the visual first: GRAPHIC (poster, thumbnail, ad), LANDING (marketing site, email, onboarding), APP (dashboards, settings, feeds) or PALETTE (tokens only), because the same colour can be right in one context and wrong in another.
- Runs the bundled
scripts/color.pyto actually measure area shares (60/30/10), lightness, chroma, hue gaps, temperature, the loudest spots and per-line text contrast, writing a JSON report plus an analysis board with greyscale and colour-blind panels. - Walks a fixed ordered checklist: value → one loudest thing → 60/30/10 → hue relations → pop vs harmony → material and light → temperature → neutrals → families/ramps → text and UI contrast → colour-blind safety.
- Proposes fixes that move one channel at a time, with exact OKLCH + hex values verified via
contrast/palette, and renders before/after previews withrecolor(images) orshot(HTML mockups). - Delivers a structured critique: intent line → Verdict → Keep → ranked Fix list → optional alternative Directions → a numbers table.
Who it's for
- Designers who want evidence instead of vibes when colours feel muddy or garish
- Front-end developers balancing brand colour against readable contrast floors
- Marketers wondering why a CTA doesn't pull the eye on a landing page
- Design-system owners validating colour tokens on a real stand-in screen
Example uses
- Poster critique: drop in an image and ask what's off — it measures area and chroma, shows the badge outranks the subject, and gives a replacement
oklch(...)/hex value. - Landing page audit: screenshot at 1440×900 and 390×844, extract DOM colours, catch a CTA label below the APCA 60 floor, then re-render with a lightness-only fix for comparison.
- Palette check:
palette 'field:#0B1026@60' 'type:#BCD4F2@30' 'accent:#B8F01E@10' --route landingto verify the accent survives deuteranopia and that neutrals don't mix warm and cool.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/LemonFace0309/charles-skills/HEAD/skills/design/charles-color-analysis/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/design/charles-color-analysis folder from the GitHub repo LemonFace0309/charles-skills into my ~/.claude/skills/charles-color-analysis/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/LemonFace0309/charles-skills.git /tmp/charles-skills && mkdir -p ~/.claude/skills && cp -r /tmp/charles-skills/skills/design/charles-color-analysis ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Prepare prerequisites: Python 3 with
pip install numpy pillow, and Google Chrome or Chromium if you want to render HTML pages. (Reading text inside images requires macOS.) - Clone the repository:
git clone https://github.com/LemonFace0309/charles-skills.git /tmp/charles-skills - Copy the whole skill folder so
scripts/andreferences/come with it:mkdir -p ~/.claude/skills && cp -r /tmp/charles-skills/skills/design/charles-color-analysis ~/.claude/skills/ - Restart Claude Code, attach an image or point it at a local HTML file, and ask something like "critique the colour of this landing page".
- If the first run errors on
numpyorPillow, re-run the install command from step 2.
View source on GitHub ↗License: MIT