Font Colour Advisor
accessibility_fontRank a palette of foreground colors by contrast ratio with WCAG grades and get recommendations for body text, large text, and UI components.
Instructions
Given a background hex and a palette of candidate foreground colours, return them ranked by contrast ratio with WCAG grades and specific recommendations for body text, large text, and UI components.
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": {
"background": "<background>",
"palette": "<palette>"
},
"name": "accessibility_font"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | Yes | Background hex value | |
| palette | Yes | Candidate foreground hex values |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |