the402 endpoint detail

← All endpoints

x402.forgemesh.io contrast-color-checker

https://x402.forgemesh.io/contrast-color-checker

payable

Contrast and dark-mode checker for any hex or rgb() input: returns whether a color reads as light or dark and which text color, black or white, stays legible on top of it, alongside full hex/RGB/HSL conversions. Useful for accessible UI generation, theme switchers, and design-system tooling that can't afford a manual eyeball check.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
38 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:17:30.818Z (1d ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402.forgemesh.io%2Fcontrast-color-checker"