x402-contrast-ratio
Contrast Ratio: WCAG contrast ratio between two hex colours. Takes color1 and color2 (defaults #ffffff and #000000). Returns ratio, aa and aaa. 🆓 5 free trial calls per signed wallet
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402-contrast-ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | No | ||
| fg | No | ||
| color1 | No | ||
| color2 | No |