{"uid":"cap_eB-fnoVWVn2UQyrfy2rSC","slug":"delx-color-convert-73041467","name":"Delx Color Convert","description":"Convert #hex or rgb() colors to hex/rgb/hsl for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/color-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-mOVOCVawqmAHwsRsl8bU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts hex or RGB color values into all three formats: hex, RGB, and HSL","exampleAgentPrompt":"Convert the color #3A8DFF into its RGB and HSL equivalents so I can use them in my CSS stylesheet.","exampleUseCases":[{"title":"CSS design token normalization","prompt":"I have a brand color #FF6B35 and I need it expressed as hex, RGB, and HSL so I can add it to my CSS design tokens."},{"title":"Color picker format sync","prompt":"My design tool is giving me rgb(45, 200, 112) — can you convert that to hex and HSL so I have all three formats handy?"},{"title":"Accessibility contrast checking prep","prompt":"I need to convert the hex color #1A1A2E to HSL so I can adjust the lightness value for contrast ratio testing."}],"resultDescription":"Returns the input color expressed in all three formats: hex (e.g. #3a8dff), RGB (e.g. rgb(58, 141, 255)), and HSL (e.g. hsl(214, 100%, 61%))","failureModes":["Invalid color string (malformed hex or RGB syntax) — returns error indicating unparseable input","Missing input color parameter — returns 400-style error","Color value out of range (e.g. rgb(300, 0, 0)) — may return error or clamp behavior","Payment failure or insufficient USDC balance via x402 — transaction rejected before processing"],"whenToPreferThis":"Choose this endpoint when you need a quick, deterministic conversion between hex, RGB, and HSL color formats without standing up your own color math. Ideal for agents working in design automation, CSS generation, or any workflow that requires color format normalization across multiple representations in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:46:08.228Z","isFirstParty":false,"canonicalSlug":"delx-color-convert-73041467"}