{"uid":"cap_kJb2--qTaWFCrej38UgzF","slug":"delx-commerce-rgb-to-hex-converter-da9086b0","name":"Delx Commerce RGB to Hex Converter","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/rgb-to-hex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"b":{"type":"integer","description":"Input field: b."},"g":{"type":"integer","description":"Input field: g."},"r":{"type":"integer","description":"Input field: r."}}},"responseSchema":{"type":"json","example":{"b":0,"g":0,"r":255,"hex":"#ff0000","schema":"delx/util-rgb-to-hex/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZezZveBBcm_eoVvEiujWr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts RGB integer color values (red, green, blue) into a CSS-compatible hexadecimal color string","exampleAgentPrompt":"What's the hex color code for RGB 255, 128, 0?","exampleUseCases":[{"title":"CSS color value lookup","prompt":"I have a color with RGB values red=0, green=128, blue=255 — what's the hex code I can use in my CSS stylesheet?"},{"title":"Brand color format conversion","prompt":"Our brand color is RGB 34, 139, 34 — can you give me the hex version so I can use it in our design system?"},{"title":"Dynamic UI color generation","prompt":"Convert the color red=200, green=50, blue=100 to its hex representation so I can pass it to our charting library."}],"resultDescription":"A JSON object containing the input r, g, b integer values echoed back, the computed hex color string (e.g. '#ff0000'), and a schema identifier string ('delx/util-rgb-to-hex/v1') for verifiable delivery confirmation.","failureModes":["Integer values outside 0-255 range may produce unexpected or invalid hex output","Missing r, g, or b fields may cause a 400 or malformed response","Non-integer inputs (e.g. floats or strings) may be rejected or silently truncated","Payment failure via x402 will block the request before processing"],"whenToPreferThis":"Use this endpoint when an agent needs a simple, deterministic, pay-per-call RGB-to-hex conversion without any signup or API key management. Ideal for agentic workflows that require verifiable, micropayment-based utility calls on Base or Solana via USDC, and where no local color-conversion library is available or desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:07.187Z","isFirstParty":false,"canonicalSlug":"delx-commerce-rgb-to-hex-converter-da9086b0"}