generate_color_ramp
Generate a shading ramp from a base color for pixel art, with hue-shifted shadows and highlights. Returns colors ordered from dark to light.
Instructions
Generate a shading ramp (dark to light) from a base color.
Produces the standard pixel-art shading technique of hue-shifting: shadows lean cooler (hue shifted one way), highlights lean warmer. Use the returned colors for shading instead of plain darker/lighter versions of the same hue.
Args: base_color: Hex color the ramp is built around, e.g. "#D04648" steps: Number of colors in the ramp, 2-16 (default 5) hue_shift_degrees: Total hue rotation across the ramp (default 20) lightness_range: Total lightness span across the ramp, 0-1 (default 0.5)
Returns: JSON array of hex colors ordered darkest to lightest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_color | Yes | ||
| steps | No | ||
| hue_shift_degrees | No | ||
| lightness_range | No |