Skip to content

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.

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.

Terminal
curl --get 'https://colorbox.io/api/contrast' \
  --data-urlencode 'foreground=000000' \
  --data-urlencode 'background=ffffff'

Read the API reference

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.

Connect Colorbox over MCP