Simulate how colors appear to users with different types of color blindness
npx playbooks add skill jkense/agent-skills-wcag --skill wcag-audit-perceivable-color-blindness
Use this tool when designing color schemes to ensure accessibility for users with color vision deficiencies, testing color-dependent information, or validating color contrast for different types of color blindness.
node scripts/simulate.js --color "#FF0000" --type protanopia
node scripts/simulate.js --color "rgb(255,0,0)" --type deuteranopia
node scripts/simulate.js --color "#00FF00" --type tritanopia
node scripts/simulate.js --json '{"color": "#FF0000", "type": "protanopia"}'
--color: Color to simulate (hex, rgb)--type: Type of color blindness (protanopia, deuteranopia, tritanopia)--json: JSON input with color and type propertiesReturns JSON with simulated color values:
{
"original": "#FF0000",
"simulated": "#5A5A5A",
"type": "protanopia",
"description": "Red-blind simulation"
}
$ node scripts/simulate.js --color "#FF0000" --type protanopia
Original: #FF0000 (rgb(255,0,0))
Protanopia: #5A5A5A (rgb(90,90,90))
This red appears as a dark gray to someone with protanopia
$ node scripts/simulate.js --color "#00FF00" --type deuteranopia
Original: #00FF00 (rgb(0,255,0))
Deuteranopia: #8C8C8C (rgb(140,140,140))
This green appears as a medium gray to someone with deuteranopia
For more information about [Agent Skills](https://agentskills.io/what-are-skills) and how they extend AI capabilities.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.