{"uid":"cap_rgjMzy7UsT8TDYrlt71yH","slug":"color-format-converter-with-contrast-info-5d52f441","name":"Color Format Converter with Contrast Info","description":"Money Reactor paid API - catalog: https://money-reactor.makar52nn2016.workers.dev/.well-known/x402.json","url":"https://money-reactor.makar52nn2016.workers.dev/api/color?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1Wt7yGakz0uz3-YoqJFXB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts colors between HEX, RGB, and HSL formats and returns contrast information for design and theming use cases.","exampleAgentPrompt":"Can you convert the color #1A73E8 to RGB and HSL for me, and also tell me the contrast info so I know if it's accessible on a white background?","exampleUseCases":[{"title":"Design system color token generation","prompt":"I'm building a design system and need to convert our brand color #E63946 into both RGB and HSL formats so I can define CSS variables — can you get all three formats plus contrast info for that hex?"},{"title":"Accessibility contrast check for UI","prompt":"We need to make sure our button color #2D6A4F passes accessibility standards — can you convert it and give me the contrast information so we know if it works on a white or dark background?"},{"title":"CSS theming automation","prompt":"I have a color in HSL format — hsl(210, 100%, 56%) — and I need to know its HEX and RGB equivalents so I can use them in my Tailwind config and inline styles."}],"resultDescription":"Returns the color expressed in HEX, RGB, and HSL formats along with contrast ratio or accessibility contrast information, allowing designers and developers to use the color across different CSS and design contexts.","failureModes":["Invalid or malformed color value input returns an error","Unsupported color format may not be parsed correctly","Missing query parameter results in a bad request response","Network timeout or worker cold-start latency on first call"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert a color value between HEX, RGB, and HSL formats in a single call and also want contrast/accessibility data included. Ideal for design automation workflows, theming pipelines, or agents helping developers generate CSS variables and design tokens without needing a dedicated design tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:49.063Z","isFirstParty":false,"canonicalSlug":"color-format-converter-with-contrast-info-5d52f441"}