generate_color_ramp
Produces a color ramp from dark to light using hue-shifting, where shadows are cooler and highlights warmer. Ideal for pixel art shading.
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 |
|---|---|---|---|
| steps | No | ||
| base_color | Yes | ||
| lightness_range | No | ||
| hue_shift_degrees | No |