color_ramp_pro
Build perceptually even shading ramps with OKLab lightness steps and hue-shifted shadows and lights. Generates a richer color ramp plus swatch image for pixel-art palettes.
Instructions
A perceptually even shading ramp with hue shifting, plus a swatch image.
Steps are equal in OKLab lightness (they look equally far apart); shadows turn toward shadow_hue (275 = blue-violet), lights toward light_hue (85 = warm yellow), and chroma peaks in the mid shadows the way painted ramps do. Use instead of generate_color_ramp for richer colour.
Args: base_color: The material's main colour (it stays in the ramp unchanged) darker: Shades below the base, 0-5 lighter: Shades above the base, 0-4 step: Lightness difference per step, 0.06 (subtle) to 0.16 (punchy) hue_shift: Degrees the hue turns per step, 0-30 shadow_hue / light_hue: Hues that shadows / lights lean toward (e.g. shadow_hue=200 for teal shadows on a sunny scene)
Returns: JSON with the ramp (darkest to lightest) and an image of it.
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": "color_ramp_pro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | ||
| darker | No | ||
| lighter | No | ||
| hue_shift | No | ||
| light_hue | No | ||
| base_color | Yes | ||
| shadow_hue | No |