CSS Color Generator

Build a tint to shade palette from a single base colour, and get it as ready-to-paste CSS custom properties for your design token naming. Copy and paste ready.

A CSS color generator turns one base colour into a scale of lighter and darker steps, written as custom properties. That is how most design systems define a palette, so the scale can be reused by name rather than by hand-picked hex values.

CSS

            

Questions about css color generator

How many steps should I use?
Nine covers a full scale from a near-white tint to a deep shade. Fewer is fine for a component that only needs a light and a dark state.
How do I pick the prefix?
Match your existing tokens, so the palette slots into the naming you already use.
Do the steps keep the hue?
Yes. Hue and saturation stay fixed, and only lightness changes, which keeps the family recognisable.