llms.txt
+2 −2
https://swatch.clawhard.com/llms.txt
− - `GET https://swatch.clawhard.com/api/v1/check_contrast`: Use when you pick, review or generate UI colors and need an exact accessibility answer. Computes the WCAG 2.x contrast ratio of a text color on a background (never guess ratios, LLMs get them wrong) and returns pass or fail for AA and AAA at normal and large text, the 3:1 UI-component rule, and the APCA Lc score. Accepts hex (#rgb, #rrggbb, #rrggbbaa), rgb(), hsl(), hwb(), oklch() and CSS color names. Translucent colors are blended first− Yes. Add the MCP server https://swatch.clawhard.com/mcp (tools swatch_check_contrast, swatch_fix_contrast, swatch_pick_text_color, swatch_make_scale, swatch_convert_color, swatch_check_pairs) or call the JSON API described at /openapi.json.+ - `GET https://swatch.clawhard.com/api/v1/check_contrast`: Use when you pick, review or generate UI colors and need an exact accessibility answer. Computes the WCAG 2.x contrast ratio of a text color on a background with exact math and returns pass or fail for AA and AAA at normal and large text, the 3:1 UI-component rule, and the APCA Lc score. Accepts hex (#rgb, #rrggbb, #rrggbbaa), rgb(), hsl(), hwb(), oklch() and CSS color names. Translucent colors are blended first.+ Yes. Add the MCP server https://swatch.clawhard.com/mcp (tools swatch_check_contrast, swatch_fix_contrast, swatch_make_scale, swatch_check_pairs; color conversion comes back with swatch_check_contrast) or call the JSON API described at /openapi.json.