How to make a color ramp
- Pick a base color: the mid-tone of the material you want to shade.
- Choose the number of steps, and how much the hue should shift toward cool shadows and warm highlights.
- Set the darkest and lightest brightness. The sphere preview shows how the ramp shades a round form.
- Click Add ramp to palette, repeat for other materials, then export the whole palette.
Color ramp tips for pixel art
- Keep enough contrast between steps. If two neighboring colors are hard to tell apart at 1× zoom, drop a step.
- Share colors between ramps. Classic palettes reuse the darkest shadow and the brightest highlight across several ramps. This keeps the palette small and the art cohesive.
- Shift less for subtle styles. 10–20° suits realistic tones, and 30–45° gives a vivid, stylized look.
- Test on real sprites. Recolor an existing sprite with the Palette Swap tool to see how a new ramp works in context.
How the ramp is calculated
The base color is converted to HSV (hue, saturation, value), and brightness is spread evenly from darkest to lightest.
Below the middle of the ramp, the hue rotates toward blue-violet (250°). Above it, the hue rotates toward yellow (60°). In both cases the rotation takes the shorter way around the color wheel, and is at most the chosen amount at the ends.
Saturation rises slightly in the shadows and falls off in the highlights, following the desaturation setting.