{"uid":"cap_Dm8xqv-7V-oOjXd-2X2td","slug":"vextorium-image-color-palette-extractor-60590f94","name":"Vextorium Image Color Palette Extractor","description":"Dominant colors of an image (URL or base64) with their share, in HEX and RGB, plus the average color and light/dark tone. For brand palettes, themes or tagging images by color.","url":"https://api.vextorium.com/paleta-imagen-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"colores":{"type":"integer","description":"2-16 (default 6)"},"base64_img":{"type":"string"}}},"responseSchema":{"type":"json","example":{"tono":"oscuro","colores":[{"hex":"#0d0f11","rgb":[13,15,17],"proporcion_pct":45.38},{"hex":"#0e1916","rgb":[14,25,22],"proporcion_pct":40.85},{"hex":"#294939","rgb":[41,73,57],"proporcion_pct":9.74},{"hex":"#0b0b0f","rgb":[11,11,15],"proporcion_pct":3.5},{"hex":"#0a1010","rgb":[10,16,16],"proporcion_pct":0.54}],"color_medio":{"hex":"#15211d","rgb":[21,33,29]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yq-__Vl7INl9Vsjp0LRW6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts dominant colors from an image (by URL or base64) returning each color's HEX/RGB values and percentage share, plus the average color and light/dark tone classification.","exampleAgentPrompt":"Can you analyze this product photo and give me its dominant colors — I want up to 8 colors with their HEX codes, RGB values, and what percentage of the image each one covers, plus whether the overall tone is light or dark? The image is at https://example.com/product.jpg","exampleUseCases":[{"title":"Brand palette extraction from logo","prompt":"Here's our company logo image URL: https://mybrand.com/logo.png — can you pull out the top 6 dominant colors as HEX and RGB values so I can build our official brand color palette?"},{"title":"Automatic dark/light theme detection","prompt":"I need to know if this banner image is predominantly light or dark so I can decide whether to overlay white or black text on it — can you analyze https://cdn.mysite.com/hero-banner.jpg and tell me the tone plus the average color?"},{"title":"Color tagging for image library","prompt":"I'm cataloguing product images and need to tag them by color — analyze this base64 image and give me the top 4 dominant colors with their proportions so I can index it in our catalog."}],"resultDescription":"A JSON object containing: an array of dominant colors each with hex string, rgb array [R,G,B], and proporcion_pct (percentage share of the image); a color_medio object with the average image color in hex and rgb; and a tono field indicating 'claro' (light) or 'oscuro' (dark) overall tone.","failureModes":["Invalid or unreachable image URL returns an error","Base64 string is malformed or not a valid image format","colores parameter out of range (must be 2-16) may return error or default to 6","Very small or uniform images may return fewer colors than requested","Network timeout if the image URL is slow to load","Payment not fulfilled returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract a structured color palette from any image — particularly for brand palette generation, UI theme derivation, or image cataloguing by color. It is well-suited for cases where you need both precise HEX/RGB values and proportional coverage data, plus a quick light/dark classification, without running a full ML pipeline locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:47:12.943Z","isFirstParty":false,"canonicalSlug":"vextorium-image-color-palette-extractor-60590f94"}