Tints, Shades and Tones Explained: How to Mix Colour Variations

Learn the difference between tints, shades and tones, how mixing with white, black or grey works in code, and how to use each variation in a UI.

Updated September 29, 2026 6 min read

Use the free Color Shades GeneratorMake tints, shades and tones of any colour and copy HEX, RGB or HSL

A designer hands over a mock-up where the primary button is a bright sky blue, the hover state is "a bit darker", the selected table row is "a very light version of the blue", and the disabled button is "the blue but greyed out". Those three descriptions are, in colour-theory terms, a shade, a tint and a tone. Knowing the words helps, but what you really need are exact values you can paste into a stylesheet and reproduce next month.

This guide defines the three kinds of variation, shows the simple arithmetic behind them, and explains where each one works well in an interface. It also covers the CSS and Sass functions that do the same mixing, so you can decide whether you need static values at all.

Tint, shade and tone: the definitions

The terms come from traditional painting, where you change a pigment by adding something to it.

  • Tint: the colour mixed with white. It gets lighter and paler. Pastels are tints.
  • Shade: the colour mixed with black. It gets darker and deeper.
  • Tone: the colour mixed with grey. It gets muted and less saturated, while staying at a similar level of lightness.

In everyday speech people say "shade" for any variation of a colour, and many tools do too. When you are writing a style guide or talking to a designer, using the precise terms avoids a lot of back and forth.

How the mixing is calculated

On screen, a colour is three numbers: red, green and blue, each from 0 to 255. Mixing two colours in the sRGB space means moving each channel part of the way towards the other colour:

result = base + (target - base) × amount

For a tint the target is white (255, 255, 255), for a shade it is black (0, 0, 0), and for a tone it is mid grey (128, 128, 128). amount runs from 0 (your original colour) to 1 (pure target).

Here is the same formula in JavaScript, which you can run in Node or the browser console:

function hexToRgb(hex) {
  const n = parseInt(hex.replace("#", ""), 16);
  return [(n >> 16) & 255, (n >> 8) & 255, n & 255];
}

function mix(hex, targetHex, amount) {
  const a = hexToRgb(hex), b = hexToRgb(targetHex);
  const c = a.map((v, i) => Math.round(v + (b[i] - v) * amount));
  return "#" + c.map((v) => v.toString(16).padStart(2, "0")).join("");
}

console.log(mix("#0ea5e9", "#ffffff", 0.2)); // tint  -> #3eb7ed
console.log(mix("#0ea5e9", "#000000", 0.2)); // shade -> #0b84ba
console.log(mix("#0ea5e9", "#808080", 0.2)); // tone  -> #259ed4

This is the same channel-by-channel approach used by Sass's mix() function and most design tools, so values you generate this way will match what a designer produces with the same percentages.

Why tints and shades don't look evenly spaced

sRGB mixing is simple and predictable, but it is not perceptually even. The first 10% of white added to a dark colour makes a much more visible difference than the step from 80% to 90%. For a handful of hover and background colours that doesn't matter. If you need a long, evenly stepped scale for a design system, a perceptual model such as OKLCH works better; the Tailwind Color Palette Generator builds that kind of 50-950 scale.

Generate tints, shades and tones

The Color Shades Generator calculates all three rows at once in your browser.

  1. Open the Color Shades Generator and enter your colour in Base colour, either as a hex code or with the colour swatch.
  2. Set Steps per row anywhere from 3 to 20. With 10 steps you get 0%, 10%, 20% and so on up to 90%; with 5 steps you get jumps of 20%.
  3. Pick the Copy format: HEX, RGB or HSL.
  4. Look at the three rows: Tints (mixed with white), Shades (mixed with black) and Tones (mixed with grey). The first swatch in each row is your base colour, and each swatch shows its mix percentage.
  5. Click a swatch to copy that single value, use Copy row to copy one row as a list, or Copy all to copy every row with comments showing the percentage of each value.

If you only have the colour in an image or a logo, get the exact value first with the Image Color Picker, then paste it in as the base.

Where each variation fits in a UI

Variation Good for Watch out for
Light tints (70-90%) Page backgrounds, selected rows, info banners, badges Too little contrast against white; add a border
Mid tints (20-50%) Borders, chart fills, secondary accents May look washed out next to the base
Light shades (10-20%) Hover and pressed states for buttons Keep the change visible but not jarring
Deep shades (40-70%) Text in the brand colour, dark-mode surfaces Very dark shades can look muddy or nearly black
Tones (20-50%) Disabled states, muted tags, quieter illustrations Disabled states still need to be readable

Whatever you choose, text on a coloured background must stay readable. A light blue tint behind dark text is usually fine; white text on a 20% tint of a light colour often is not. Test the actual pairs with the Color Contrast Checker.

Other ways to create variations

CSS color-mix()

Modern browsers support mixing directly in CSS, which is ideal when the base colour is a variable that may change:

:root {
  --brand: #0ea5e9;
  --brand-tint-20: color-mix(in srgb, var(--brand), white 20%);
  --brand-shade-20: color-mix(in srgb, var(--brand), black 20%);
}

Using in srgb gives the same kind of result as the formula above. Other spaces such as in oklch give different, often smoother, results. The main limitation is that designers and non-browser tools can't read the computed hex values directly, so a static list is still useful for documentation.

Sass

@use "sass:color";

$brand: #0ea5e9;
$brand-tint: color.mix(white, $brand, 20%);
$brand-shade: color.mix(black, $brand, 20%);

Note the argument order: the percentage is the weight of the first colour, so color.mix(white, $brand, 20%) means 20% white.

Adjusting HSL lightness

Changing the lightness value in HSL is another common method. It keeps the hue fixed but can shift how saturated the colour looks. Our guide on lighter and darker shades with HSL covers that technique, and the Color Converter translates between HEX, RGB and HSL.

Tips and pitfalls

Pick a few steps and name them

Twenty variations of one colour is more than any interface needs. Choose three to five, give them names such as brand-light and brand-dark, and use only those. Consistency matters more than precision.

Tones make disabled states obvious

A tone keeps the colour recognisable but clearly inactive, which is often better than lowering opacity. Opacity lets the background show through, so the same disabled button looks different on each surface.

Round-trip conversions can shift values

HSL values shown by the tool are rounded to whole numbers. Converting a rounded HSL value back to hex can land one or two units away from the original. Copy the hex format if you need exact reproduction.

Frequently asked questions

What is the difference between a tint and a shade?

A tint is a colour mixed with white, so it becomes lighter. A shade is a colour mixed with black, so it becomes darker.

What is a tone in colour theory?

A tone is a colour mixed with grey. It reduces the colour's intensity while keeping its lightness roughly similar, giving a muted, softer version.

How do I make a colour 20% lighter in CSS?

Use color-mix(in srgb, yourColour, white 20%), or generate the hex value for a 20% tint and use it directly. Both approaches mix 20% white into the colour.

Why does my 50% shade look almost black?

sRGB mixing is not perceptually even, and dark colours reach near-black quickly. Use smaller percentages for shades, or build a perceptual scale in OKLCH.

Are tints and shades the same as opacity?

No. A tint is a solid colour that looks the same on any background. Lowering opacity makes the colour partly transparent, so its appearance depends on what sits behind it.

Try it now: Color Shades Generator

Loading tool…