Color Shades Generator

Generate a full scale of tints and shades from any color — even steps from white to black. Copy hex codes in one click.

Generate an even scale of tints and shades from any color — lightness walks from near-white to near-black in equal steps while hue and saturation stay fixed, producing the Tailwind-style ramp designers expect for states, hovers, and charts.

How to use Color Shades Generator

  1. Pick the seed color.
  2. Set how many steps the ramp should have.
  3. Copy individual hex codes or the whole ramp.

Who it is for

Design systems builders defining a full color ramp from one seed, dashboard developers needing hover and disabled variants, and chart authors picking ordered colors for data series.

How it works

  • Lightness is distributed evenly across your chosen step count (5–12), so step spacing is perceptually consistent.
  • Hue and saturation never change across the scale — the family stays recognisably yours.
  • Swatches copy on click; one button copies the entire ramp as a comma-separated hex list.

What it cannot do

  • Equal lightness steps are not equal perceptual steps — very saturated hues can jump visually; tweak the seed rather than the algorithm.
  • The scale is generated from one color, not sampled from an image (that is the color extractor).

Sample input & output

You give

Seed color: #2563EB (royal blue), Steps: 9

Color Shades Generator returns

9-step tint-to-shade scale with locked hue (221°) and saturation (83%): #DCE7FC, #B4CCF9, #8BB0F6, #6395F3, #3B79F0, #1659DA, #1145A9, #0C3179, #071D48 — click any swatch to copy.

Frequently asked questions

Why is my exact seed color not in the ramp?

The scale divides the full lightness range evenly, and your seed’s lightness rarely lands on a step. Nearest steps above and below it are in the ramp.

How many steps should I pick?

Five for simple UIs, nine or ten for design systems that need hover, focus, disabled, and chart variants.

Are these colors accessible against each other?

Not guaranteed — ramps agree in hue, not contrast. Check text-on-background pairs with the contrast checker.

What is the technical difference between a tint, a shade, and a tone in color theory?

In traditional pigment and digital color modeling, a tint increases lightness toward white, a shade decreases lightness toward black, and a tone reduces chroma or saturation toward neutral gray. Stepping HSL lightness evenly while holding hue angle and saturation fixed builds a pure tint-and-shade ramp where every step clearly belongs to the same brand hue family without drifting muddy.

Why do saturated yellow and cyan ramps behave differently to the human eye than blue ramps?

Standard HSL treats pure yellow (#FFFF00) and pure blue (#0000FF) as having identical 50% lightness, even though yellow has a WCAG relative luminance of 0.928 (nearly as bright as white) while pure blue sits at 0.072 (nearly dark). Because human cones are far more sensitive to green-yellow wavelengths than blue, dark shades of yellow quickly read as olive-brown unless hue is nudged slightly warmer.

How should I assign a 9-step or 10-step color ramp to CSS design-system tokens?

Design systems like Tailwind and Material map light-to-dark steps onto numeric weights from 50 or 100 through 900. Use the two lightest tints (steps 1–2) for subtle alert and badge backgrounds, mid-scale steps (5–6) for primary interactive buttons and focus rings, and the darkest shades (steps 8–9) for body or badge text sitting on top of those pale tint backgrounds.

Can I assume two steps at opposite ends of a shade ramp automatically pass WCAG AA contrast?

Usually step 1 against step 8 or 9 clears the WCAG 2.1 AA minimum of 4.5:1 for normal body text, whereas mid-ramp steps (such as step 5 button backgrounds under white text) frequently fall between 3.1:1 and 4.4:1 depending on hue luminance. Always paste your chosen foreground and background hex pair into Contrast Checker before shipping UI components.