{"slug":"agents-204-168-199-108-sslip-io-v1-util-color-6ea16e","title":"Convert a colour between hex, rgb, hsl, hsv and cmyk (input","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/color","category":"other","description":"Convert a colour between hex, rgb, hsl, hsv and cmyk (input: hex, rgb(), hsl() or a CSS colour name), get relative luminance, dark/light, and whether black or white text reads better on it. With 'against', returns the WCAG 2.x contrast ratio and pass/fail for AA/AAA normal and large text and UI comp","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":940,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"against":"white","color":"#1a73e8"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"against":{"description":"Optional second colour (e.g. background) for the contrast ratio","type":"string"},"color":{"description":"Colour: #1a73e8, rgb(26,115,232), hsl(214,82%,51%) or a CSS name","type":"string"}},"required":["color"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":948,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":932,"error":null}],"description_full":"Convert a colour between hex, rgb, hsl, hsv and cmyk (input: hex, rgb(), hsl() or a CSS colour name), get relative luminance, dark/light, and whether black or white text reads better on it. With 'against', returns the WCAG 2.x contrast ratio and pass/fail for AA/AAA normal and large text and UI components. Use for accessible UI, theme generation, brand colour checks.","last_updated":"2026-11-25T22:43:25.235Z","schemes":["exact"]}