{"api":"v1","generated_at":"2026-09-15T23:43:27.721Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/402utils-com-v1-color-453e89","pinned_page":"https://tollindex.com/e/402utils-com-v1-color-453e89/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"402utils-com-v1-color-453e89","canonical_url":"https://402utils.com/v1/color","resource":"https://402utils.com/v1/color","http_method":"GET","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"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 '#'.","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-09-06T01:15:38.568Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"color","category":"other","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":5,"unique_payers_30d":4,"last_called_at":"2026-09-14T19:48:48.740Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:36:06.161Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T04:36:06.161Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:32:03.246Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:30:30.233Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:46:22.957Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:19:11.772Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","page":"https://tollindex.com/seller/0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","endpoints":16,"hosts":2},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-09-14T19:48:48.74Z","l30DaysTotalCalls":5,"l30DaysUniquePayers":4},"resource":"https://402utils.com/v1/color","extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"bg":"ffffff","fg":"000000","op":"contrast"}},"output":{"type":"json","example":{"AA":{"largeText":true,"normalText":true,"uiComponents":true},"bg":{"hex":"#ffffff","input":"ffffff"},"fg":{"hex":"#000000","input":"000000"},"op":"contrast","AAA":{"largeText":true,"normalText":true},"ratio":21}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"bg":{"type":"string","description":"Background colour (op=contrast). Falls back to `color` for fg."},"fg":{"type":"string","description":"Foreground colour (op=contrast)."},"op":{"enum":["convert","contrast","palette"],"type":"string","default":"convert"},"color":{"type":"string","description":"The colour (convert/palette): hex without '#', rgb(), hsl() or a CSS name."}},"description":"Query string only."}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["op"],"properties":{"AA":{"type":"object","description":"AA pass/fail for normalText, largeText, uiComponents."},"op":{"type":"string"},"AAA":{"type":"object","description":"AAA pass/fail for normalText, largeText."},"hex":{"type":"string"},"hsl":{"type":"object"},"hsv":{"type":"object"},"rgb":{"type":"object"},"name":{"type":["string","null"],"description":"Exact CSS colour name, if any."},"ratio":{"type":"number","description":"WCAG contrast ratio 1-21 (op=contrast)."},"tints":{"type":"array","items":{"type":"string"}},"shades":{"type":"array","items":{"type":"string"}},"triadic":{"type":"array","items":{"type":"string"}},"analogous":{"type":"array","items":{"type":"string"}},"luminance":{"type":"number","description":"WCAG relative luminance 0-1 (op=convert)."},"complementary":{"type":"string","description":"(op=palette)."}},"description":"Shape depends on `op`."}}}}}}},"description":"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 '#'.","lastUpdated":"2026-09-06T01:15:38.568Z","x402Version":2}]}}