generate_color_ramp
Generate a dark-to-light color ramp from a base color for Aseprite palettes or drawing, with evenly spaced lightness steps and optional hue shift for shadows and highlights.
Instructions
Shades of base_color from dark to light as '#rrggbb', for set_palette or drawing.
The base colour itself is one of the steps, placed where its HSL lightness falls in lightness_range (the range widens to reach it); the other steps are evenly spaced in lightness on each side and keep its saturation. With hue_shift, darker steps turn towards blue and lighter ones towards yellow, as pixel artists do for shadows and highlights. Alpha in base_color is ignored.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_color": "<base_color>"
},
"name": "generate_color_ramp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of colours in the ramp | |
| hue_shift | No | Degrees the hue turns per step away from the base | |
| base_color | Yes | '#RRGGBB', '#RRGGBBAA' or 'transparent' | |
| lightness_range | No | Lightness (0..1) of the darkest and lightest step |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |