{"uid":"cap_D-AofF05EZrkbPg4GHplv","slug":"centralcity-ai-color-converter-3a4f4f51","name":"centralcity.ai Color Converter","description":"Converts a color between hex, RGB and HSL.","url":"https://centralcity.ai/api/public/x402/off_j3dnb4c7y3kqw2iv?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_Cm2DcyRruNSnLjcYCsWLT","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 color formats.","exampleAgentPrompt":"Can you convert the color #3a7bd5 into its RGB and HSL equivalents for me?","exampleUseCases":[{"title":"CSS design token normalization","prompt":"I have this color in hex — #ff6b35 — can you give me the equivalent RGB and HSL values so I can use all three formats in my design system?"},{"title":"Converting HSL from designer to hex","prompt":"My designer gave me hsl(210, 70%, 45%) as a brand color — what's the hex code and RGB for that?"},{"title":"Parsing shorthand hex to full formats","prompt":"What are the full RGB and HSL values for the shorthand hex color #09f?"}],"resultDescription":"Returns the input color expressed in all three formats: hex (#rrggbb), RGB (r, g, b values), and HSL (hue, saturation%, lightness%) — allowing the caller to use whichever representation is needed.","failureModes":["Invalid or unrecognized color string returns an error (e.g. malformed hex or out-of-range RGB values)","Missing 'color' field in the request body results in a validation error","Hex values with alpha channels (#rrggbbaa) may not be supported","Percentage signs missing from HSL input may cause parse failure"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable, single-call conversion between any of the three main CSS color formats (hex, RGB, HSL) without setting up a local color library. Ideal for agents working in web design, CSS generation, or design token pipelines where colors may arrive in mixed formats and need to be normalized.","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"}