{"uid":"cap_C1t2D41mjSZ0MWr732s45","slug":"centralcity-ai-color-converter-b6aaf1f9","name":"centralcity.ai Color Converter","description":"Converts a color between hex, RGB and HSL.","url":"https://centralcity.ai/api/public/x402/off_tjmuhvwbnzaor7oa?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"color":{"type":"string","description":"A color as #rrggbb, #rgb, rgb(r, g, b) or hsl(h, s%, l%)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R-HLTjSLSFhSDH7ZNnbJv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a color value between hex (#rrggbb/#rgb), RGB, and HSL formats","exampleAgentPrompt":"Can you convert the color #3a7bd5 to both RGB and HSL formats for me?","exampleUseCases":[{"title":"CSS design color format lookup","prompt":"I'm building a UI and have the hex color #ff6b35 — can you give me the RGB and HSL values so I can use them in my CSS variables?"},{"title":"Brand color cross-format translation","prompt":"Our brand color is rgb(42, 123, 213) — can you convert that to hex and HSL so our designers can use it across tools?"},{"title":"HSL to hex conversion for code","prompt":"I've got the color hsl(210, 70%, 55%) and I need the hex code for it to use in my HTML template."}],"resultDescription":"Returns the input color expressed in all three formats: hex (#rrggbb), RGB (rgb(r, g, b)), and HSL (hsl(h, s%, l%)), so you can use the same color in any CSS or design context.","failureModes":["Invalid or unrecognized color string returns an error","Missing 'color' field in request body returns a validation error","Out-of-range values in RGB or HSL (e.g. rgb(300, 0, 0)) may return an error or be clamped","Malformed hex strings (wrong length or non-hex characters) return an error"],"whenToPreferThis":"Use this endpoint when you need a simple, reliable conversion between hex, RGB, and HSL color formats without spinning up a local library. Ideal for agents building CSS, design tokens, or color pipelines that need all three representations from a single input. It handles shorthand hex (#rgb) and all three input formats interchangeably.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:47:00.227Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-color-converter-77fdc87c"}