analyze_colors
Extract dominant colors from an image or region using K-Means clustering in LAB space. Get colors ranked by frequency with human-readable names for design and analysis.
Instructions
Extract dominant colors from an image region using K-Means clustering in LAB color space. Returns colors sorted by frequency with human-readable names from color.pizza.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of dominant colors to return (default: 5) | |
| bbox | No | Optional bounding box as [ymin, xmin, ymax, xmax] normalized 0-1000. Defaults to full image. | |
| image | Yes | Path to the image file or URL (http/https) |