color_check
Color -> hex/rgb/hsl + relative luminance, and WCAG contrast ratio + AA/AAA pass flags when 'against' is given. #767676 vs white = 4.54, the boundary everyone gets wrong. Free.
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": {
"color": "<color>"
},
"name": "color_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | #rgb | #rrggbb | rgb(r,g,b) | |
| against | No |