# charles-color-analysis

charles-color-analysis — a skill for Claude Code reviews color choices in graphics, websites, and app screens. It activates on requests to assess a palette, explain clashing colors, or suggest specific changes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 237 repo stars
- Author: LemonFace0309
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/LemonFace0309/charles-skills/tree/HEAD/skills/charles-color-analysis/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/charles-color-analysis

## What it does

The skill identifies what a visual is meant to do, then checks its colors against that use. It measures area shares, lightness, chroma, text contrast, and other color properties. Findings are ranked and paired with exact OKLCH and hex adjustments, alternate palette directions, and before-and-after previews.

The `color.py` script runs through `python3` for image analysis and saves measurement results as JSON and PNG files. Separate commands check contrast, sample selected regions, or render an HTML page with `shot`. The HTML check takes a page file such as `page.html`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add LemonFace0309/charles-skills --skill charles-color-analysis -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/charles-color-analysis/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/charles-color-analysis/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add LemonFace0309/charles-skills --skill charles-color-analysis -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/charles-color-analysis/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add LemonFace0309/charles-skills --skill charles-color-analysis -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/charles-color-analysis/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install LemonFace0309/charles-skills skills/charles-color-analysis
```

2. **Manually: put the files in place**
- File: `.github/skills/charles-color-analysis/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add LemonFace0309/charles-skills --skill charles-color-analysis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/LemonFace0309/charles-skills --path skills/charles-color-analysis
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/charles-color-analysis/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/LemonFace0309/charles-skills/tree/HEAD/skills/charles-color-analysis/SKILL.md

## When to use it
- spot colors that clash in a design
- check text contrast against a surface
- assess a palette for a landing page or app screen
- get exact color values for a visual revision

## Example prompts
- Review the colors in `hero.png` and suggest precise changes.
- Check the text and button contrast in `checkout.png`.
- Assess the landing page palette from `page.html`.

## Similar
- [color-theory-palette-harmony-expert](https://affpapa.org/en/nevibecode/skills/color-theory-palette-harmony-expert.md) — skill · 460 installs
- [muapi-color-analysis-board](https://affpapa.org/en/nevibecode/skills/muapi-color-analysis-board.md) — skill · 563 installs
- [better-colors](https://affpapa.org/en/nevibecode/skills/better-colors.md) — skill · 42600 installs
- [oklch-skill](https://affpapa.org/en/nevibecode/skills/oklch-skill.md) — skill · 5200 installs
- [Color Palette Generator — 5 Harmony Schemes](https://affpapa.org/en/nevibecode/mcp/color-palette-generator-5-harmony-schemes.md) — MCP server · 4579 installs
- [color-motion](https://affpapa.org/en/nevibecode/skills/color-motion.md) — skill · 5800 installs

From the same set: [lemonface0309/charles-skills](https://affpapa.org/en/nevibecode/by/lemonface0309/charles-skills.md) — 13 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
