Colorbox documentation
Good color.
In every workflow.
Make a palette in the browser. Check a color pair in code. Give your agent the tools to do both.
Using Colorbox
Build a palette, check the combinations, and take your colors into your project.
GET /apiHTTP API
Check a text pair or find a foreground that works across several surfaces. No API key required.
POST /mcpMCP for agents
Generate a palette, measure contrast, and return an editable result through MCP.
Local · source previewCLI preview
Audit and plan local shadcn theme changes, with brand locks and a before-and-after preview.
Start with one color pair
No setup or API key. This request checks black on white and returns JSON with the contrast ratio and pass/fail result.
curl --get 'https://colorbox.io/api/contrast' \
--data-urlencode 'foreground=000000' \
--data-urlencode 'background=ffffff'Working with an agent?
Connect the remote MCP server, or copy any guide as Markdown into your agent’s context. Start with generation, measure actual text/background pairs, and bring the result back to the editor for review.