{"uid":"cap_gsSbyKKbQzNLgKAlPNN_8","slug":"random-color-generator-8958f792","name":"Random Color Generator","description":"Generate a random RGB and hexadecimal color for design, tests, palettes and procedural content.","url":"https://x402-zoo.lolagent.workers.dev/api/random-color","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{}}},"additionalProperties":false}}},"responseSchema":null,"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_jYRTtSyl7TrUlW_0tPL6f","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":"Generates a random RGB and hexadecimal color value for use in design, testing, palettes, and procedural content.","exampleAgentPrompt":"Give me a random color — I need both the hex code and the RGB values for a UI design I'm working on.","exampleUseCases":[{"title":"Random palette seed for UI design","prompt":"I'm building a color palette for a new app — give me a random color to start with, including the hex and RGB values."},{"title":"Test data color generation","prompt":"I need a random hex color and its RGB breakdown to use as test data in my frontend component tests."},{"title":"Procedural color for generative art","prompt":"Generate a random RGB color for me to use in my procedural art script — I need the hex code too."}],"resultDescription":"Returns a randomly generated color with both its RGB component values (red, green, blue integers from 0–255) and the equivalent hexadecimal color string (e.g. #3A7FCD).","failureModes":["Network or worker errors returning 5xx status","Payment failure or insufficient funds returning 402","Malformed response if upstream worker is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, on-demand random color with both RGB and hex representations in a single call, especially in contexts where no local randomization logic is available or where you want an external, stateless color source for design tooling, test fixtures, or procedural generation pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:43.106Z","isFirstParty":false}