Extract Colors Tool
extract_colorsExtract a dominant-color palette from an image. Send either a public image_url or image_base64 (base64/data-URI, e.g. a local screenshot). The image is processed in memory and never stored. Each color comes back with its hex, rgb, hsl, share of the image, and the closest human color name — a named palette in one call. Rate limit: 10 calls/min per IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Palette mode: "balanced" (default), "vibrant", or "muted". | |
| count | No | How many colors to return (2–16, default 8). | |
| image_url | No | Public URL of the image to pull the palette from. Provide either this or image_base64. | |
| image_base64 | No | Base64-encoded image (raw base64 or a data:image/...;base64 URI), max 10 MB decoded — use this to send a local file/screenshot without hosting it. Provide either this or image_url. |