Extract dominant colors from any image. Build themes, design tools, and product displays.
๐ Drop image or click to upload
3 free requests/day without API key
https://color-palette-opal.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)Get your free key below/api/paletteExtract dominant colors from an uploaded image using k-means clustering.
imagefileyesImage file (JPEG, PNG, GIF). Max 5MBcountnumbernoNumber of colors to extract (1-10). Default: 5{
"dominant": "#2C3E50",
"palette": ["#2C3E50", "#E74C3C", "#ECF0F1", "#3498DB", "#2ECC71"],
"count": 5
}// 400 โ Bad Request
{ "error": "Missing 'image' field (multipart file upload)" }
{ "error": "Invalid image format. Supported: JPEG, PNG, GIF" }
// 401 โ Unauthorized
{ "error": "Invalid API key" }
// 429 โ Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.