image_tools_palette
Pull the main colours out of an image: hex and RGB with each colour's share, the dominant and average colour, whether the image is dark, a swatch PNG, a .gpl palette file and CSS variables. Price: $0.01 USDC via x402, charged only on success. Part of Image tools: Everyday image work for sites and apps: convert and compress to WebP/AVIF/JPEG/PNG, responsive srcset sets with ready markup, colour palettes, pixel diffs for visual regression, SVG to PNG, QR codes, blur placeholders, and an inspection that says what to fix before shipping an image..
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_tools_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Image file as base64 (PNG, JPEG, WebP, AVIF, GIF, TIFF or SVG). | |
| colors | No | ||
| imageUrl | No | Link to the image. |