vibeside_inspect_contrast
Check WCAG 2.2 color contrast between foreground and background colors, using sRGB linearization and offering accessible color suggestions.
Instructions
Inspect WCAG 2.2 color contrast ratio between foreground and background with sRGB linearization and accessible color suggestions.
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": "vibeside_inspect_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isBold | No | Whether font weight is bold (>= 700) for large text thresholds | |
| bgColor | No | Direct background color (hex, rgb, rgba, hsl, or CSS name) override | |
| fgColor | No | Direct foreground color (hex, rgb, rgba, hsl, or CSS name) override | |
| fontSize | No | Font size in px to evaluate large text thresholds (default: 16) | |
| selector | No | CSS selector of the element to inspect foreground/background contrast for |