set_palette
Replace the entire palette of a sprite with a custom list of colors. Accepts hexadecimal or RGB color strings.
Instructions
Replace the entire palette with the given list of colours.
colors: list of colour strings, e.g. ["#000000", "#ffffff", "255,0,0"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | ||
| filename | Yes |