Colour contrast (WCAG)
colour_contrastThe WCAG contrast ratio of a text colour on a background colour, and which levels it passes (AA, AA large, AAA, AAA large), from a-to-mind.com/color/. Colours as hex (#6d4aff), rgb(), hsl() or a CSS name.
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": {
"text": "<text>",
"background": "<background>"
},
"name": "colour_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text colour. | |
| background | Yes | The background colour. |