aseprite_replace_color
Replace every pixel of one color with another across the whole document to recolor characters or swap shades across all frames.
Instructions
Replace every pixel of one colour with another across the whole document. Handy for recolouring a character, or swapping a shade across all frames at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Replacement colour. | |
| from | Yes | Colour to replace. | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. | |
| tolerance | No | Per-channel tolerance 0-255 (default 0 = exact). |