Color Shades Generator
generate tints and shades of any color for design systems
Interactive Color Shades Generator — coming soon
In development. We're still building the interactive Color Shades Generator. The guide below explains exactly what it does and how to use it. In the meantime, here are DevLab tools that already work in your browser:
Browse all working tools →Paste any hex or HSL color and get a full 10-stop scale — 50 through 900 — of tints and shades calibrated for design system use. Useful when you have a brand color like #2563EB and need the lighter hover states and darker pressed states to populate a Tailwind CSS theme. The output mirrors the structure Tailwind uses internally, so the stops drop directly into a colors config without manual adjustment.
What is Color Shades Generator?
Color Shades Generator takes a single base color and derives a graduated scale of lighter tints (mixed toward white) and darker shades (mixed toward black), outputting each stop as hex, RGB, and HSL values. Feed it a mid-range brand blue at the 500 position and it fills in everything from a near-white 50 to a near-black 950, giving you the full ramp a component library expects.
When developers need a color scale, the common alternatives are reaching into Tailwind's default palette directly, or using Adobe's Leonardo tool (leonardocolor.io) which targets contrast ratios against a background. This tool is narrower: you supply the anchor color and get deterministic stops out, which is faster when you already have a brand-approved hex and just need the surrounding ramp to satisfy a design token schema.
The main gotcha is that simple lightness mixing in HSL space produces perceptually uneven steps — the jumps between stops 100–200 often look larger than 700–800 even when the numeric lightness delta is identical. This is a property of human vision (the HK effect), not a bug. If perceptual uniformity matters — accessibility tooling or printed output — verify contrast ratios with a checker rather than trusting the numeric spacing alone.
When to use Color Shades Generator
- Populate a Tailwind `extend.colors` block from a single brand hex your designer handed you.
- Generate hover, active, and disabled state variants for a button component without guessing hex values manually.
- Seed a Figma variable collection with a token ramp before exporting to CSS custom properties.
Frequently Asked Questions
Why does my base color end up at the 500 stop instead of matching exactly at the shade I picked?
How is this different from just using Tailwind's default color palette?
Does the tool generate shades in HSL, HSB, or by RGB channel mixing?
How many stops does the generator produce, and can I change the count?
Why do the very light stops (50, 100) look almost identical in some colors?
Related Tools
- Color Converterconvert between HEX, RGB, HSL, HSB, and CMYK color formats · Colors
- Color Palette Generatorgenerate harmonious color palettes from a base color · Colors
- Color Contrast Checkercheck WCAG color contrast ratio for accessibility compliance · Colors
- CSS Gradient Generatorgenerate CSS linear, radial, and conic gradients visually · CSS
Learn more
- Color Spaces Explained: RGB, HSL, HEX, and BeyondUnderstand how computers represent color. Learn the differences between RGB, HSL, HEX, HSV, and OKLCH — and when to use each one.
- Color Contrast for Developers: WCAG Rules and How to CheckLearn the WCAG contrast requirements for text, icons, and interactive elements — and how to test contrast ratios in your projects.