find_palette_color
Match a hex color to the active Aseprite palette, returning the exact color or the nearest Euclidean-distance alternative when no exact match exists.
Instructions
Finds exact or nearest color match in the active palette using Euclidean distance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"color": "<color>"
},
"name": "find_palette_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Hex color string e.g. #FF1E14FF | |
| findNearest | No | Whether to find nearest color if exact match not found |