Check a color palette for colorblind-safety
checkPaletteSimulate protanopia, deuteranopia and tritanopia for a set of hex colors, then flag pairs whose perceptual difference collapses. Use it as a screening aid, not a legal accessibility audit.
Instructions
Check whether a set of colors stays distinguishable for people with color-vision deficiency (colorblindness). Simulates protanopia, deuteranopia and tritanopia and flags the pairs whose perceptual difference collapses under simulation. A screening aid, not a legal accessibility (ADA/WCAG) audit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"colors": "<colors>"
},
"name": "checkPalette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | Hex colors to check together, e.g. ["#d7191c","#1a9641","#2166ac"] |