pencil2d_manage_palette
Add or update color swatches in a Pencil2D project palette to set RGB and alpha values, ensuring consistent colors across animation frames.
Instructions
Add or update a color swatch in the Pencil2D project palette.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | Yes | Red channel (0-255). | |
| blue | Yes | Blue channel (0-255). | |
| alpha | No | Alpha channel (0-255, default 255). | |
| green | Yes | Green channel (0-255). | |
| color_name | Yes | Name of the color swatch. | |
| project_path | Yes | Path to the .pclx file. |