# Color Fix

> Auto-fix color issues. Replace failing contrast pairs, consolidate near-duplicates, and add missing CSS custom properties.

- Skill: `dragoon0x/color-fix` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dragoon0x/color-fix`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dragoon0x/color-fix/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: dragoon0x (https://skillmd.com/u/dragoon0x)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dragoon0x/color-fix

---


# /color-fix — Color Auto-Fix

Apply automatic color corrections:
1. Adjust foreground/background pairs that fail WCAG AA to the nearest passing value
2. Replace near-duplicate colors with the most-used variant
3. Convert raw hex values to CSS custom properties
4. Remove pure black (#000) — replace with tinted dark
5. Show before/after for each change

