Font Colour Advisor
accessibility_fontRank a palette of foreground colors by contrast ratio with WCAG grades and get recommendations for body text, large text, and UI components.
Instructions
Given a background hex and a palette of candidate foreground colours, return them ranked by contrast ratio with WCAG grades and specific recommendations for body text, large text, and UI components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | Yes | Background hex value | |
| palette | Yes | Candidate foreground hex values |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| result | No | ||
| error | No |