EthicalFusion

Shades & Tints Generator

Generate lighter tints and darker shades of any color — perfect for hover states and design systems.

Was this tool helpful?

Thanks for the feedback!

Give this generator one base colour and it returns a nine-step scale: four tints mixed toward white, the base itself, and four shades mixed toward black, each with its hex code. Designers and front-end developers use a scale like this for hover states, borders, backgrounds and dark-mode surfaces that all belong to the same colour family.

The mixing formula

Each red, green and blue channel is moved a fixed share of the way toward white (255) or black (0), then rounded:

  • Tint at t%: channel + (255 − channel) × t
  • Shade at s%: channel × (1 − s)

For #6d48f5, the channels are 109, 72 and 245. The 20% tint is 109 + 146 × 0.2 = 138.2 → 138, 72 + 183 × 0.2 = 108.6 → 109, and 245 + 10 × 0.2 = 247, giving #8a6df7. The 20% shade is 109 × 0.8 = 87.2 → 87, 72 × 0.8 = 57.6 → 58, and 245 × 0.8 = 196, giving #573ac4.

The full scale for #6d48f5

StepHexOne possible use
Tint 80%#e2dafdCard or page background
Tint 60%#c5b6fbBorders, selected rows
Tint 40%#a791f9Disabled buttons
Tint 20%#8a6df7Icons on dark surfaces
Base#6d48f5Primary buttons, links
Shade 20%#573ac4Hover and pressed states
Shade 40%#412b93Text on light tints
Shade 60%#2c1d62Headings
Shade 80%#160e31Dark-mode background

Nine steps map neatly onto the 100 to 900 naming used in many design systems: Tint 80% as 100, the base as 500 and Shade 80% as 900.

Checking contrast across the scale

Lightening a colour quickly reduces its contrast with white text, and darkening a background reduces it with dark text. Some real pairs from this scale:

  • White on the base #6d48f5: 5.39:1, passing WCAG AA for normal text.
  • White on Shade 20% #573ac4: 7.48:1, passing AAA as well.
  • Base #6d48f5 text on Tint 80% #e2dafd: only 4.03:1, which fails AA for body text.
  • Shade 40% #412b93 text on Tint 80% #e2dafd: 7.87:1, a safe choice for a tinted callout box.

The usual pattern is light tints for backgrounds and deep shades for text. Confirm any pair with the Color Contrast Checker.

Tints, shades and tones

A tint adds white, a shade adds black, and a tone adds grey. This tool produces tints and shades only. Mixing is done directly on RGB values, which is simple and predictable, though it can make tints look slightly washed out compared with scales tuned by eye in design software.

Limits

The steps are fixed at 20% intervals, so you cannot request 5% steps or an eleven-step scale. Input must be a three- or six-digit hex code. To pick a second family to build the same way, start with the Color Palette Generator and feed its swatches back in here.

Frequently asked questions

What is the difference between a tint and a shade?
A tint is a colour mixed with white, so it is lighter. A shade is mixed with black, so it is darker. A tone, mixed with grey, is not produced here.
How are the tint percentages calculated?
Each red, green and blue value moves that share of the distance toward 255 for tints or toward 0 for shades. A 20% tint of 109 is 109 plus 20% of 146, which rounds to 138.
Can I change the number of steps?
No. The scale is always four tints at 80, 60, 40 and 20 percent, the base, and four shades at the same intervals.
Which shade should I use for a button hover state?
The 20% shade is a common choice because it is clearly darker than the base but still the same colour. It usually improves contrast with white text too.
Why does text in my base colour fail on its lightest tint?
The two are too close in brightness. Use a darker shade from the scale for the text, such as the 40% shade.

Related tools

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.