adjust_hsl
Adjust hue, saturation, and lightness of a cel's opaque pixels for palette swaps and shading.
Instructions
Shift hue, saturation, and lightness of all opaque pixels in a cel.
Useful for creating palette-swapped variants and shading: e.g. darken a duplicated layer for shadows or hue-shift toward blue for night scenes.
Args: filename: Aseprite file to modify layer_name: Layer to adjust frame_index: Frame index starting at 1 hue_shift: Degrees to rotate hue, -360 to 360 saturation_shift: Saturation delta, -100 to 100 lightness_shift: Lightness delta, -100 to 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| hue_shift | No | ||
| saturation_shift | No | ||
| lightness_shift | No |