the402 endpoint detail

← All endpoints

402utils.com v1 color

https://402utils.com/v1/color

answers 402

Colour utilities: ?op=convert (default) turns any hex/rgb()/hsl()/CSS-name into hex, rgb, hsl, hsv, alpha, relative luminance and exact CSS name; ?op=contrast with ?fg=&bg= returns the WCAG 2.x contrast ratio and AA/AAA pass/fail for normal & large text plus UI components (accessibility / EAA); ?op=palette derives complementary, analogous, triadic, tints and shades. Send hex without '#'.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
1361 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:17:43.756Z (2h ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F402utils.com%2Fv1%2Fcolor"