My Tool Studio
Color

Shades & Tints

One hex code in, a full ramp out: this color shades generator scales your base color toward white on one side and black on the other, using LAB space so the steps look evenly spaced to the eye. Set the Steps slider anywhere from 5 to 21 and every swatch appears with its hex and a copy button. It works as a tints and shades generator for building button hover states, card backgrounds, and text hierarchies from a single brand color. When you need to generate shades of a color without eyeballing lightness values in a picker, this does the whole job in one move.

Always freeNo sign upRuns in your browser
#FFFFFF
#E5DFFD
#C9BFFB
#ACA0F8
#8B83F5
#6366F1
#5151BC
#3F3D89
#2D2B5A
#1B192F
#000000

How to use

01

Enter a base color

Paste a hex into the Base color field or click the swatch to use a visual picker. The ramp rebuilds instantly, running from pure white through your color down to black.

02

Set the step count

Move the Steps slider between 5 and 21. Eleven steps gives you a ramp that maps neatly onto the 50 through 900 naming that most design systems use.

03

Copy your swatches

Each row shows an uppercase hex with its own copy button. Copy all outputs the entire ramp as a comma-separated list, ready for a tokens file.

Why Shades & Tints

Common questions

What's the difference between tints and shades in this tool?
Tints are your base color mixed with white and shades are the base mixed with black. The generator builds both at once, placing your color in the middle of the ramp with tints above it and shades below it.
Which steps map to a 50 to 900 scale when I generate shades of a color?
Set the slider to 11 steps and treat your base as the 500 slot. For #6366F1 that yields #ACA0F8 around the 300 position, #5151BC at 600, and #3F3D89 at 700, with pure white and black at the extremes that you'll usually discard.
What makes LAB better than HSL for the shades ramp?
HSL lightness is mathematically even but perceptually lumpy; a 10 percent HSL step looks bigger in yellows than in blues. LAB spacing keeps each step looking like the same size jump, which is what you want when adjacent swatches will sit next to each other in a UI.
Can this work as a lighter and darker color generator for hover states?
That's one of its best uses. Take the swatch one step darker than your base for hover and two steps darker for active. Because the steps are perceptually even, every button in your system will darken by the same visual amount.
Do the shades ramps always start at white and end at black?
Yes, the endpoints are always #FFFFFF and #000000 so the full range is visible. In practice you drop the first and last swatch and keep the interior steps, which is why odd counts like 11 or 13 work so well.
Is there a limit on how many shade steps I can create?
The slider runs from 5 to 21 in increments of two, so counts are always odd and your base color always sits exactly in the center of the ramp. Twenty-one steps is useful when you want fine-grained control for data visualization ramps.
How does Copy all format the shade list?
It produces one line of uppercase hex codes separated by commas and spaces, in ramp order from lightest to darkest. Paste it into a spreadsheet, a config file, or a Slack message and the order is preserved.
Does this color generator invent new colors or vary the one I give it?
It's a variations-first color generator. You hand it one base hex and it builds the lighter and darker steps around that, so its job is to create hex color variations from a color you already trust, not to guess random hues.
Can I treat it as a hex color generator for a full scale?
Yes. Feed one code and the hex color generator returns every step as an uppercase hex, which makes it a handy hexadecimal color generator when you need the 50 through 900 slots filled from a single seed.
Does it work as a hex color code generator for design tokens?
It does. Each step copies as an uppercase code, so the hex color code generator output pastes straight into a tokens file or a config. The list runs lightest to darkest so your scale stays readable.
I searched for a hex and rgb color generator, does this cover both halves?
Only the hex half. The ramp outputs codes, so as an rgb color generator or a hex and rgb color generator it stops at hex. Send any swatch to the Hex to RGB tool for the channel numbers.
Can I generate color combinations for a UI theme from one base?
You can generate color combinations along a single hue, which is what backgrounds, borders, and hover states need. It won't build a multi-hue scheme, so for mixing two distinct brand colors the Color Blender is the better companion.

More Color tools

View all