About this endpoint
What it does
Detects the main color in an image identified by the url query parameter and returns the result as a JSON array of color objects.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| url | String | Image URL to analyze. Max length: 1000 characters. |
Response
Returns a JSON array of objects. Each object may contain hex_code, main_color, and specific_color fields, all of which are strings and may be null.
| Parameter | Type | Description |
|---|---|---|
| item | Object | One detected color result. |
| item.hex_code | String | Hex color code for the detected color, or null. |
| item.main_color | String | Main color name, or null. |
| item.specific_color | String | More specific color name, or null. |



