{"uid":"cap_yNNt9EAmnvHonSst-qN2A","slug":"sindri-color-format-converter-01b68dcc","name":"Sindri Color Format Converter","description":"Converts a color between hex, rgb, and hsl representations using exact arithmetic.","url":"https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/colorConvert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["hex","rgb","hsl"],"type":"string","description":"Target color format."},"from":{"enum":["hex","rgb","hsl"],"type":"string","description":"Source color format."},"value":{"description":"The color value: a string for hex, or {r,g,b}/{h,s,l} for rgb/hsl."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1zPrQZWvv-8GtWLZe32wu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a color value between hex, RGB, and HSL representations using exact arithmetic.","exampleAgentPrompt":"Convert the hex color #1a2b3c to its HSL representation using exact arithmetic.","exampleUseCases":[{"title":"Hex to RGB for CSS styling","prompt":"I have the hex color #ff6347 and I need to know its exact RGB values so I can use it in a CSS rgba() function."},{"title":"RGB to HSL for design tool","prompt":"Convert the RGB color r:200, g:100, b:50 to HSL — I need the hue, saturation, and lightness values for my design palette."},{"title":"HSL to hex for code export","prompt":"Turn the HSL color h:210, s:80, l:45 into a hex code so I can paste it into my HTML stylesheet."}],"resultDescription":"Returns the color value in the requested target format — a hex string (e.g. '#ff5733') for hex output, or a structured object with r/g/b fields for RGB, or h/s/l fields for HSL, computed with exact arithmetic.","failureModes":["Invalid or malformed color value for the specified source format (e.g. RGB values out of 0-255 range, malformed hex string)","Unsupported or misspelled format enum value for 'from' or 'to' fields","Missing required fields ('from', 'to', or 'value') in the request body","Payment failure or insufficient USDC balance (x402 protocol rejection)"],"whenToPreferThis":"Use this endpoint when you need a precise, programmatic color format conversion between hex, RGB, and HSL — especially when exact arithmetic is required rather than approximate conversion. It is ideal for automated pipelines, design tooling, or any agent workflow that needs to normalize colors across different CSS or graphics representations without introducing rounding errors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:30:45.903Z","isFirstParty":false,"canonicalSlug":"sindri-color-format-converter-01b68dcc"}