Color Shades & Tints Generator

Build a 3–20 swatch tint-and-shade ramp from one hex colour, with an adjustable step size, exported as CSS custom properties or JSON.

Click any swatch to copy its hex and read it out below

Export palette
--color-1: #9dbaff;
--color-2: #8cafff;
--color-3: #7ca3ff;
--color-4: #6b98ff;
--color-5: #5b8cff;
--color-6: #527ee6;
--color-7: #4970cc;
--color-8: #4062b3;
--color-9: #375499;
--color-10: #2e4680;

What this color shades generator does

Pick or paste a base hex color and this tool instantly builds a ramp running from the lightest tint to the darkest shade, with your original color sitting in the middle. Two sliders set its shape — 3 to 20 swatches, and a 2–30% step between them — starting at ten swatches 10% apart. Tints are the base color mixed toward white and shades are the base mixed toward black, giving you a clean monochromatic scale for buttons, hover states, borders, backgrounds, and charts. Every swatch shows its exact hex code, and a single click copies that value to your clipboard and reads it back below as rgb() and hsl() with how far it sits from the base. Under the ramp the whole palette is written out as CSS custom properties or a JSON array, with buttons to copy it, download it, or copy a link that reopens the scale you built. To convert a swatch into OKLCH, LAB, CMYK or another format, use the Color Converter.

How the tints and shades are calculated

Each swatch is produced by blending the base RGB channels toward pure white (for tints) or pure black (for shades) by the step you set, applied once more for each place away from the middle, until the mix reaches 90%. It stops there so no end collapses into a plain #ffffff or #000000, which means places past 90% repeat the last swatch — a long ramp at a wide step (20 swatches at 30%) holds repeats, and the page says how many; lower the step or the count to avoid them. Because the math is deterministic, the same input color always yields the same palette. You can type standard 6-digit hex, shorthand like #fff, or a value without the leading hash, and the color picker stays in sync with the text field.

Frequently asked questions

What is the difference between a tint and a shade?

A tint is your base color mixed with white, which makes it lighter and softer. A shade is your base color mixed with black, which makes it darker and deeper. This tool shows both in one scale, lightest on the left through to darkest on the right.

How do I copy a specific shade?

Click any swatch in the row and its hex code is copied to your clipboard. The swatch briefly shows a confirmation so you know the value was copied.