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.
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 |