{"uid":"cap_NKPR-DBrE6LBSrbqm9CeP","slug":"agentshelf-hex-to-hsl-color-converter-a8ee67f7","name":"Agentshelf HEX to HSL Color Converter","description":"Call when an agent needs a color converted with hex-to-hsl. No network. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/color-hex-to-hsl first.","url":"https://agentshelf.syntexa.ch/v1/color-hex-to-hsl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["#ff0000"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BpwGptmXtayYBu271jbL9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a hexadecimal color code to its HSL (Hue, Saturation, Lightness) representation","exampleAgentPrompt":"Can you convert the hex color #3A7BD5 to its HSL values — I need the hue, saturation, and lightness breakdown.","exampleUseCases":[{"title":"CSS theme HSL variable generation","prompt":"I have a brand color #1E90FF and I need to know its HSL values so I can set CSS custom properties for our design system — what's the hue, saturation, and lightness?"},{"title":"Design palette lightness check","prompt":"Convert #2C2C2C to HSL for me — I want to check how light or dark this color is before using it as a background."},{"title":"Color manipulation starting point","prompt":"What are the HSL values for #F4A261? I need to derive lighter and darker shades of this color programmatically."}],"resultDescription":"Returns the HSL representation of the provided hex color code, including numeric hue (0–360 degrees), saturation (0–100%), and lightness (0–100%) values.","failureModes":["Invalid or malformed hex color string returns an error","Empty or missing text field returns a validation error","Hex codes with unsupported formats (e.g. missing # prefix or wrong length) may fail","Network-level payment failure if USDC transaction is not completed"],"whenToPreferThis":"Use this endpoint when you need a quick, serverless hex-to-HSL color conversion without building the math yourself. Ideal for agents processing design tokens, CSS variables, or color palettes that require HSL format. Prefer the free sandbox POST /v1/sandbox/color-hex-to-hsl first; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:22.426Z","isFirstParty":false,"canonicalSlug":"agentshelf-hex-to-hsl-color-converter-a8ee67f7"}