Tints and Shades Generator

Mix any color with white for tints and with black for shades, in even steps. Useful for hover states, pale alert backgrounds and borders that still feel related to the brand color.

Tints (mixed with white)

Shades (mixed with black)

Tints, Shades and Tones: How to Make Lighter and Darker Colors Properly

A single brand color is rarely enough. Buttons need hover and pressed states, alerts need pale backgrounds, and text needs a darker version that passes contrast. The traditional names for these variations are tints, shades and tones. They come from painting, but they translate directly to digital design.

Tints and shades of one brown brand color from light to dark

The three definitions

  • A tint is a color mixed with white. It is lighter and softer than the original.
  • A shade is a color mixed with black. It is darker and deeper.
  • A tone is a color mixed with grey. It is less saturated and more muted, while staying at a similar lightness.

Pastels are tints. Burgundy is a shade of red. Dusty rose and sage green are tones. In everyday speech people use “shade” for any variation of a color, but in design it is useful to be precise, because each operation affects the color differently.

How mixing works on screen

Digitally, mixing two colors usually means linear interpolation of the RGB channels. A 20% tint of #8A6D3B moves each channel 20% of the way toward 255:

  • Red: 138 + (255 − 138) × 0.2 = 161
  • Green: 109 + (255 − 109) × 0.2 = 138
  • Blue: 59 + (255 − 59) × 0.2 = 98

The result is #A18A62. A shade does the same thing toward 0. This is exactly how Sass’s mix() function works, and how the CSS color-mix() function works in the sRGB space. The tints and shades generator above uses this method, so its output matches what developers get in code.

Mixing versus adjusting lightness

There is another way to make a color lighter: increase its HSL lightness. The results are similar but not identical.

MethodWhat changesResult
Mix with white (tint)All channels move toward 255Lighter and less saturated, can look washed out
Mix with black (shade)All channels move toward 0Darker, can look dull or muddy
Increase HSL lightnessLightness onlyLighter, keeps saturation, can look neon at high values
Decrease HSL lightnessLightness onlyDarker, keeps saturation, can look rich
Mix with grey (tone)Channels move toward mid-greyMuted and sophisticated

Neither method is wrong. Mixing with white gives soft, natural-looking pastels, which is why it is great for backgrounds. Adjusting lightness keeps colors vivid, which can be better for dark shades meant for buttons. Professional design systems often combine both: they adjust lightness and then slightly reduce saturation at the very light end, which is what our color scale generator does.

Why shades can look dirty

Mixing a color with pure black reduces its lightness and its perceived saturation at the same time. Dark shades of yellow are a famous example: they turn olive-brown rather than “dark yellow”. Painters have long avoided mixing black into colors for this reason, instead darkening with a deeper related hue (for example, darkening yellow with a little red-brown).

On screen you can do the same. Instead of mixing a yellow with black, shift its hue slightly toward orange while lowering lightness. The result looks like a natural shadow on a yellow object.

Practical uses in interface design

Hover and active states. Mix the button color 10–15% toward black for hover and 20–25% for pressed. On dark buttons, mix toward white instead so the change is visible.

Backgrounds for alerts and badges. A 85–92% tint of the status color makes a soft background, with a 40–60% shade of the same hue as the text. Same family, guaranteed harmony, and usually good contrast. Check the pair with a contrast checker to be sure.

Borders and dividers. Light tints (70–80%) of a neutral make subtle borders that don’t compete with content.

Charts. Sequential data, like population density on a map, is clearer when shown as a range of tints and shades of one hue rather than different hues.

Dark mode. You can’t simply invert a palette. Dark themes usually use darker shades for surfaces and lighter tints for text and accents, often with reduced saturation to avoid glowing colors on dark backgrounds.

Naming your variations

Name tokens so anyone on the team understands where they came from. Two common systems:

  • Percentage names: --brand-tint-20, --brand-shade-40. Clear about how they were made.
  • Numbered scales: --brand-100 through --brand-900, popularised by Tailwind CSS and Material Design, where 500 is the base. Clear about lightness order and easy to extend across colors.

Numbered scales are easier to use across a whole palette because blue-200 and red-200 have a similar role. Percentage names are better for one-off variations in smaller projects.

Doing it in CSS today

Modern CSS can generate tints and shades without any preprocessing:

background: color-mix(in srgb, var(--brand) 20%, white);
border-color: color-mix(in srgb, var(--brand) 70%, black);

color-mix() is supported in all major browsers since 2023. It is great for prototypes and for themes where a user can choose a color. For production design systems, though, fixed tokens are still easier to document, audit for contrast and share with designers who work in Figma.

Tones: the forgotten variation

Tones, made by mixing with grey, deserve more use. Muted colors feel calm, premium and natural, and they are easier to combine than fully saturated colors. If your palette feels loud, try replacing one or two colors with tones of the same hue. In the color mixer, blend your color with a mid-grey at 20–40% to see the effect. Brands in fashion, interiors and wellness use tones heavily for exactly this reason.

From one brand color to a full set of states

  1. Choose your base color.
  2. Generate tints and shades in 10% steps.
  3. Pick a very light tint (around 90%) for backgrounds, a light tint (around 70%) for borders, the base color for primary elements, and a 30–50% shade for hover states and text.
  4. Check contrast for every text pair.
  5. Save them as named tokens.