Dominant color API
The Dominant Color API makes it simple to identify the main colors in any image. By analyzing the pixels, the API detects and returns the most representative colors in multiple formats such as HEX, RGB, and HSL. Whether you’re building a design tool, an AI-powered application, or an e-commerce platform, this API helps you integrate color intelligence into your workflow. ✨ Key Features: 🎯…
Dominant color API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
API info / |
Retrieve general information about the Dominant Color API. This endpoint returns metadata such as API version, status, and available features. |
| POST |
Get dominant color /dominant-color/upload |
Extract the dominant color from an image. This endpoint analyzes an image (via URL or file upload) and returns its primary color in formats like HEX, RGB, and HSL. |
| POST |
Get dominant color from image URL /dominant-color/url |
Extract the dominant color from an image URL. This endpoint analyzes an image provided via URL and returns its primary color in HEX, RGB, and HSL formats. |
| POST |
Get dominant color using advanced algorithm /dominant-color/advanced |
Extract dominant color using an advanced algorithm. This endpoint applies enhanced color clustering (noise reduction and palette weighting) to return the most accurate dominant… |