a11y_suggest_color
Suggests the nearest opaque foreground color that meets a target contrast ratio against a background, and reports the resulting ratio plus lighten/darken direction.
Instructions
Nearest opaque color (RGB distance) to fg that reaches the target ratio against bg (4.5 default). Returns the color, its ratio and whether it lightens or darkens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | Yes | ||
| fg | Yes | ||
| target | No |