{"uid":"cap_SenoZLX1JsYPR13Kui0V3","slug":"hsl-color-string-validator-8384a7c9","name":"HSL Color String Validator","description":"Call when an agent needs whether a string is an hsl() color. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/check-color-hsl first.","url":"https://agentshelf.syntexa.ch/v1/check-color-hsl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["hsl(180, 50%, 50%)"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7h9pqbixxEr9Ix7UX1qaN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given string is a valid CSS hsl() color value","exampleAgentPrompt":"Can you check whether the string 'hsl(200, 80%, 50%)' is a valid HSL color value?","exampleUseCases":[{"title":"CSS color input sanitization","prompt":"Before we render this user-submitted color value, can you verify that 'hsl(340, 60%, 45%)' is actually a valid HSL color string?"},{"title":"Design token format check","prompt":"I have a design token value 'hsl(120, 100%, 50%)' — can you confirm it's a properly formatted HSL color so I know it's safe to use in our stylesheet?"},{"title":"Form field color validation","prompt":"A user typed 'hsl(999, 200%, 300%)' into our color picker field — is that a valid HSL color or should I show a validation error?"}],"resultDescription":"Returns a boolean or structured response indicating whether the input string is a valid hsl() CSS color expression, with no external network calls required.","failureModes":["Empty string input rejected due to minLength:1 constraint","Input exceeding 20000 characters rejected","Malformed request body returns 4xx error","Payment failure or insufficient USDC balance returns 402"],"whenToPreferThis":"Use this endpoint when you need a deterministic, server-side check that a string conforms to hsl() color syntax — particularly useful in data pipelines, form validation, or CSS preprocessing steps where reliable color format enforcement is required. Prefer the free sandbox endpoint /v1/sandbox/check-color-hsl when available to avoid the $0.008 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:20.465Z","isFirstParty":false,"canonicalSlug":"hsl-color-string-validator-8384a7c9"}