{"uid":"cap_Fb4boY9OYeo_hZ8CUj6jm","slug":"rgb-to-hex-color-converter-66325ff4","name":"RGB to Hex Color Converter","description":"Call when an agent needs a color converted with rgb-to-hex. No network. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/color-rgb-to-hex first.","url":"https://agentshelf.syntexa.ch/v1/color-rgb-to-hex?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5D8AMxjrGToqGEOZeG20g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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 (provided as text) into its hexadecimal color code representation.","exampleAgentPrompt":"Can you convert the color rgb(255, 87, 34) to its hex code for me?","exampleUseCases":[{"title":"Web design color formatting","prompt":"I have the color rgb(30, 144, 255) and I need the hex code to use in my CSS stylesheet — can you convert it?"},{"title":"Brand color standardization","prompt":"Our brand color is rgb(0, 102, 204) — what's the hex equivalent so I can share it with the design team?"},{"title":"Data pipeline color normalization","prompt":"I have a list of colors in RGB format like rgb(220, 53, 69) and need them as hex codes — can you start by converting that one?"}],"resultDescription":"Returns the hexadecimal color code corresponding to the provided RGB input values, typically as a string like '#FF5722'.","failureModes":["Invalid or missing text input returns an error","RGB values out of range (e.g. >255) may cause unexpected results or an error","Malformed input string that cannot be parsed as RGB values","Payment failure or insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable, serverless RGB-to-hex color conversion without setting up local logic. It is best suited for agents that encounter color formatting tasks on the fly and need an exact, deterministic conversion. Prefer the free sandbox endpoint (/v1/sandbox/color-rgb-to-hex) for testing; use this paid endpoint in production when the sandbox is unavailable or not preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:41.907Z","isFirstParty":false,"canonicalSlug":"rgb-to-hex-color-converter-66325ff4"}