check_color_contrast
Calculate the contrast ratio between two hex colors to determine WCAG accessibility compliance for text and UI components.
Instructions
Check contrast ratio between two specific colors
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | Yes | Background color in hex format (e.g., #ffffff) | |
| foreground | Yes | Foreground color in hex format (e.g., #000000) |