{"api":"v1","generated_at":"2026-09-16T03:37:05.186Z","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/keyronne-com-api-color-5d9d1d","pinned_page":"https://tollindex.com/e/keyronne-com-api-color-5d9d1d/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":"keyronne-com-api-color-5d9d1d","canonical_url":"https://keyronne.com/api/color","resource":"https://keyronne.com/api/color","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Parse any CSS color (hex, rgb(), hsl()) and emit all three formats plus relative luminance. Compute WCAG contrast ratios against a background with AA/AAA pass-fail for normal and large text, and lighten, darken, or mix colors. Built for agents generating accessible UI themes. POST a JSON body like: {\"color\":\"#3498db\",\"background\":\"#ffffff\"}","service_name":"Color Convert + Contrast","declared_category":null,"declared_tags":["color","hex","rgb","wcag","contrast"],"route_template":null,"registry_updated":"2026-09-11T04:09:29.069Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"color","category":"compute","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":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":5,"unique_payers_30d":4,"last_called_at":"2026-09-11T04:09:28.806Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:52:55.376Z","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:52:55.376Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:48:02.385Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:45:27.767Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T07:02:32.499Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T10:40:12.583Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","page":"https://tollindex.com/seller/0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","endpoints":14,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["color","hex","rgb","wcag","contrast"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-09-11T04:09:28.806Z","l30DaysTotalCalls":5,"l30DaysUniquePayers":4},"resource":"https://keyronne.com/api/color","extensions":{"bazaar":{"info":{"input":{"body":{"color":"#3498db","background":"#ffffff"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"hex":"#3498db","hsl":{"h":204,"l":53.1,"s":70},"rgb":{"a":1,"b":219,"g":152,"r":52},"input":"#3498db","contrast":{"ratio":2.59,"against":"#ffffff","largeTextAA":false,"normalTextAA":false},"luminance":0.2831}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"body":{"type":"object","required":["color"],"properties":{"mix":{"type":"string","description":"Blend the color toward this one."},"color":{"type":"string","description":"A color: \"#3498db\", \"rgb(52,152,219)\", or \"hsl(204,70%,53%)\"."},"darken":{"type":"number","description":"Decrease lightness by this many percent (0-100)."},"weight":{"type":"number","default":0.5,"maximum":1,"minimum":0,"description":"Mix weight toward \"mix\"."},"lighten":{"type":"number","description":"Increase lightness by this many percent (0-100)."},"background":{"type":"string","description":"Optional second color for a WCAG contrast check."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"hex":{"type":"string"},"hsl":{"type":"object"},"rgb":{"type":"object"},"mixed":{"type":"string","description":"Present when \"mix\" is given."},"adjusted":{"type":"string","description":"Present when lighten/darken is given."},"contrast":{"type":"object","description":"Present when \"background\" is given."},"luminance":{"type":"number"}}}}}}},"description":"Parse any CSS color (hex, rgb(), hsl()) and emit all three formats plus relative luminance. Compute WCAG contrast ratios against a background with AA/AAA pass-fail for normal and large text, and lighten, darken, or mix colors. Built for agents generating accessible UI themes. POST a JSON body like: {\"color\":\"#3498db\",\"background\":\"#ffffff\"}","lastUpdated":"2026-09-11T04:09:29.069Z","serviceName":"Color Convert + Contrast","x402Version":2}]}}