{"uid":"cap_qkaPqghL3DNy-3ryxAgHe","slug":"sindri-color-format-converter-427a91d7","name":"Sindri Color Format Converter","description":"Converts a color between hex, rgb, and hsl representations using exact arithmetic.","url":"https://x402.outpimp.com/colorConvert","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_ctKAthfoq2wMXSBWkqe1D","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":"CSS variable migration to HSL","prompt":"I'm updating my design system and need to convert all our brand hex colors to HSL — can you convert #3498db from hex to HSL so I can use it in CSS custom properties?"},{"title":"RGB to hex for image pipeline","prompt":"My image processing pipeline outputs colors as RGB values — convert rgb(220, 53, 69) to its hex code so I can store it as a standard color string."},{"title":"HSL to RGB for canvas rendering","prompt":"I have a color defined as hsl(200, 80%, 50%) and I need to pass it to a canvas drawing function that only accepts RGB — can you convert it for me?"}],"resultDescription":"Returns the color expressed in the requested target format: a hex string (e.g. '#1a2b3c') for hex, an object with r/g/b integer fields for rgb, or an object with h/s/l fields for hsl.","failureModes":["Invalid or out-of-range color value for the specified source format (e.g. RGB values outside 0–255)","Missing required fields (to, from, or value) returns an error","Unsupported format string not in the enum (hex/rgb/hsl) returns validation error","Same source and target format may return the input unchanged or an error depending on implementation"],"whenToPreferThis":"Choose this endpoint when you need a quick, exact, single-color format conversion between hex, RGB, and HSL without setting up a local library. Ideal for design automation pipelines, CSS tooling, or any agent workflow that handles colors as strings or structured objects and needs to normalize them to a consistent format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:17.013Z","isFirstParty":false}