Tint and shade generator
Make even steps of lighter and darker shades from one color.
Enter a base color to build the ramp.
Why HSL steps look uneven
Stepping HSL lightness by equal amounts does not produce equal visual steps. Yellow at 50 percent HSL lightness looks far brighter than blue at 50 percent, and the gap between adjacent steps varies with hue. A ramp built that way looks lopsided even though the numbers are evenly spaced.
Lightness in OKLCH
OKLCH describes a color with lightness, chroma, and hue, and its lightness tracks perceived brightness more closely than HSL does. Interpolating in that space tends to give steps that look more evenly spaced to most people, which is why the ramp is built there.
The three OKLCH channels
| L | Perceived lightness, from 0 for black to 1 for white. |
| C | Chroma, how far the color is from gray. |
| H | Hue angle in degrees around the color wheel. |
Was this tool useful?