{"uid":"cap_lcciDT6H1m2lh8QINirOi","slug":"x402-tools-color-palette-generator-90962a0d","name":"x402-tools Color Palette Generator","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/color-palette?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","pattern":"^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$","description":"Base hex color, e.g. '#3B82F6'. Drives color-theory harmony."},"mode":{"enum":["complementary","analogous","triadic","tetradic","split-complementary","monochromatic"],"type":"string","default":"analogous"},"seed":{"type":"string","maxLength":200,"description":"Any string (brand name, id). Hashed into a deterministic base color — same seed always yields the same palette."},"count":{"type":"integer","default":5,"maximum":10,"minimum":2}}},"responseSchema":{"type":"json","example":{"base":"#3B82F6","mode":"analogous","seed":null,"count":5,"colors":[{"hex":"#3B82F6","hsl":{"h":217,"l":60,"s":91},"rgb":{"b":246,"g":130,"r":59}},{"hex":"#3BC4F6","hsl":{"h":197,"l":60,"s":91},"rgb":{"b":246,"g":196,"r":59}},{"hex":"#3B43F6","hsl":{"h":237,"l":60,"s":91},"rgb":{"b":246,"g":67,"r":59}}]}},"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":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_1Wv2X0MUYyFEUqTeutJ4B","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates color-theory-based palettes (complementary, analogous, triadic, etc.) from a base hex color or seed string, returned as hex/HSL/RGB values.","exampleAgentPrompt":"Generate a triadic color palette of 6 colors based on the hex color #3B82F6 for my brand Morning Bloom — I need each color in hex, RGB, and HSL.","exampleUseCases":[{"title":"Brand palette from company name","prompt":"Generate a consistent color palette for our company 'Verdant Labs' using the company name as a seed — I want 5 harmonious colors in analogous mode, each returned in hex, RGB, and HSL so I can use them across our design system."},{"title":"Complementary colors for UI theming","prompt":"I'm building a dashboard UI and my primary button color is #E11D48 — can you find me a complementary color scheme with 4 colors in hex, HSL, and RGB so I can set up proper accent and background theming?"},{"title":"Monochromatic scheme for landing page","prompt":"I need a monochromatic palette based on #10B981 for a landing page redesign — give me 6 shades in that mode with all the hex, RGB, and HSL values so my developer can plug them straight into the CSS variables."}],"resultDescription":"A JSON object containing the base color, mode, seed, count, and an array of color objects each with hex, HSL (hue, saturation, lightness), and RGB (red, green, blue) values.","failureModes":["Invalid hex color format returns validation error","Mode not in allowed enum values returns 400","Count outside 2–10 range returns validation error","Both base and seed omitted may return default or error","Payment failure via x402 returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need programmatically generated, color-theory-correct palettes from a known base color or a deterministic seed string, especially for branding, UI theming, or design systems. Prefer over manual color picking when consistency and harmony modes (analogous, triadic, complementary, etc.) are required. The seed feature is ideal when you want the same palette every time for a given brand or identifier.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:37:56.781Z","isFirstParty":false,"canonicalSlug":"x402-tools-color-palette-generator-90962a0d"}