{"uid":"cap_DSM7Ce72mwz4sG5xc8pFF","slug":"rgb-to-hsl-color-conversion-c1dd4b11","name":"RGB to HSL Color Conversion","description":"Call when an agent needs a color converted with rgb-to-hsl. No network. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/color-rgb-to-hsl first.","url":"https://agentshelf.syntexa.ch/v1/color-rgb-to-hsl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["rgb(255, 0, 0)"],"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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qWmurdZtaIF1JjX73cR1k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an RGB color value to its HSL (Hue, Saturation, Lightness) equivalent","exampleAgentPrompt":"Can you convert the color rgb(120, 45, 200) to HSL for me?","exampleUseCases":[{"title":"CSS theme color conversion","prompt":"I'm building a CSS stylesheet and need to convert my brand color rgb(34, 139, 34) to HSL format so I can adjust its lightness dynamically — what's the HSL value?"},{"title":"Design tool color normalization","prompt":"I have a palette of RGB colors I'm working with — can you convert rgb(255, 165, 0) to HSL so I can compare saturation and lightness across my swatches?"},{"title":"Accessibility contrast check prep","prompt":"I need to convert rgb(70, 130, 180) to HSL before I run my contrast checker — the tool only accepts HSL input. Can you do that conversion for me?"}],"resultDescription":"Returns the HSL representation of the provided RGB color, including numeric hue (0–360), saturation (0–100%), and lightness (0–100%) values computed from the input RGB data","failureModes":["Invalid or malformed RGB input string returns an error","Input text exceeds maxLength of 100,000 characters","Missing or empty text field causes validation failure","Ambiguous color format not parseable as RGB may yield incorrect results"],"whenToPreferThis":"Choose this endpoint when you need a pure, local (no-network) RGB-to-HSL color conversion without setting up your own math library. It is useful in agent pipelines processing color values for CSS theming, design tools, or color analysis workflows where HSL is the required output format. At $0.007 USDC per call it is suitable for on-demand single conversions; try the free sandbox POST /v1/sandbox/color-rgb-to-hsl first if available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:16.793Z","isFirstParty":false,"canonicalSlug":"rgb-to-hsl-color-conversion-c1dd4b11"}