pisan-labs

Game Palette Inspector — Development skill for Claude Code

Development community

Check a game palette against WCAG contrast and eight types of color vision deficiency, see which color pairs collapse for color-blind players, and get lightness-only replacements that keep each hue.

How to install Game Palette Inspector

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pisan-labs/game-palette-inspector and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Game Palette Inspector does

Check a game palette against WCAG contrast and eight types of color vision deficiency, see which color pairs collapse for color-blind players, and get lightness-only replacements that keep each hue. Built with Claude Code.

Alternatives in Development

  • Battle — Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict line 3.6k ★
  • Native Feel Skill — An Agent Skill for designing cross-platform desktop apps that feel native — distilled from Raycast's 2.0 deep 1.9k ★
  • Check A11y — Report WCAG contrast for the theme and the minimal fix to reach AA 452 ★

README

Game Palette Inspector

Check a game palette against WCAG contrast and 8 types of color vision deficiency, then get replacement colors that keep your art style. Roughly 8% of male players (and about 0.5% of female players) have some form of color vision deficiency; most game color tooling ignores them.

Everything runs in the browser. No accounts, no uploads, no API keys, no tracking.

**Live**: [game-palette-inspector.hintwise.org](https://game-palette-inspector.hintwise.org)

![Loading the Forest platformer preset: the confusion report flags three critical pairs, the fix studio offers a lighter green (#63ae6b) that adds no new confusion under any vision type and marks the other two colors "no safe fix", and after Apply the report drops to one critical pair](demo.gif)

Idea source: [Daily Project Ideas](https://studio.hintwise.org/), 2026-06-19, Weekend tier.

What it does

  • Bench: build a palette by hand (hex or color picker), load a preset, or drop a game screenshot. Screenshots have their 8 dominant colors extracted automatically. Mark one color as the background.
  • Vision lab: a contact sheet of the palette through eight vision types (protanomaly, protanopia, deuteranomaly, deuteranopia, tritanomaly, tritanopia, achromatomaly, achromatopsia). With a screenshot loaded, the whole frame is simulated too.
  • Contrast: a WCAG contrast-ratio matrix for every color pair, with a selectable target (3:1 UI/large text, 4.5:1 AA text, 7:1 AAA text) and explicit pass/fail marks.
  • Confusion report: pairs that are clearly distinct with typical vision but collapse under a specific deficiency, measured perceptually in OKLab, with the worst-case vision type named.
  • Fix studio: one-click replacements that reach the contrast target against the background by shifting only OKLCH lightness, so hue (your art direction) is preserved. Each candidate is checked against the rest of the palette: a replacement is offered only if it pushes no pair into a worse conf