{"uid":"cap_wZ8Fc1vdvBTEUUxxHNlo7","slug":"agentshelf-hsl-to-hex-color-converter-55a5192a","name":"AgentShelf HSL-to-Hex Color Converter","description":"Call when an agent needs a color converted with hsl-to-hex. No network. Exact $0.006 USDC. Prefer unpaid POST /v1/sandbox/color-hsl-to-hex first.","url":"https://agentshelf.syntexa.ch/v1/color-hsl-to-hex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["hsl(0, 100%, 50%)"],"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.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q3n2iWqAZwiq15fOe-Iyz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HSL color value expressed in text into its hexadecimal (#RRGGBB) representation","exampleAgentPrompt":"Convert hsl(210, 75%, 45%) to its hex color code for me.","exampleUseCases":[{"title":"CSS styling color translation","prompt":"I have a color defined as hsl(340, 60%, 55%) in my design system and I need the hex code so I can use it in an older CSS property that doesn't support HSL — can you convert it?"},{"title":"Design token normalization","prompt":"We're standardizing our design tokens and need to convert hsl(120, 40%, 70%) to hex format so all color values are consistent across our codebase."},{"title":"Color picker output conversion","prompt":"My color picker gave me hsl(30, 90%, 50%) but the tool I'm using only accepts hex values — please convert that HSL to hex for me."}],"resultDescription":"Returns the hex color code (e.g. #3399CC) corresponding to the provided HSL input, as a text string.","failureModes":["Invalid or malformed HSL text input returns an error","Empty text field is rejected due to minLength:1 constraint","HSL values outside valid ranges (hue >360, saturation/lightness >100%) may produce unexpected results or errors","Network unavailability returns a 402 or connection error; prefer free sandbox endpoint /v1/sandbox/color-hsl-to-hex when available"],"whenToPreferThis":"Use this endpoint when you need a deterministic, no-network color conversion from HSL to hex and have already exhausted the free sandbox option at /v1/sandbox/color-hsl-to-hex. It is best for agents that need exact hex codes from HSL inputs without relying on external services or libraries. Cost is $0.006 USDC per call, so prefer it only when the free path is unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:52.057Z","isFirstParty":false,"canonicalSlug":"agentshelf-hsl-to-hex-color-converter-55a5192a"}