How to use
- Type a HEX, RGB or HSL value into Base color, or choose one with the color picker.
- Pick a method. The default is an 11-step scale from 50 to 950. Tints add white, Shades add black, and Tones add gray.
- Use the Copy button on any card for its value.
- Under Export, choose CSS variables, Tailwind v4 (
@theme), Tailwind v3 (acolorsentry) or JSON and copy everything at once. The token name,primaryby default, can be changed.
Methods compared
| Method | What it does | Good for |
|---|---|---|
| 50 to 950 scale | Keeps the hue and sets lightness and chroma per step | Brand and status color tokens in a design system |
| Tints | Mixes in white 10% at a time | Backgrounds and light hover colors |
| Shades | Mixes in black 10% at a time | Pressed states, shadows, dark text |
| Tones | Mixes in gray 10% at a time | Muted, calmer supporting colors |
How the scale is built
The scale is computed in OKLCH, a color space designed so that equal lightness steps look even to the eye. Every step has a target lightness (0.97 for 50, nearly white, down to 0.28 for 950, very dark), and chroma is strongest in the middle steps and fades toward both ends. Your color is placed exactly as typed at the step closest to its lightness, and the other steps keep its hue and scale chroma from that color. If a result would fall outside what sRGB screens can show, only the chroma is reduced until it fits.
For #3366cc the result is below, with your color at step 600.
| Step | HEX | Step | HEX |
|---|---|---|---|
| 50 | #f1f5fc |
600 | #3366cc (input) |
| 100 | #dfe8f9 |
700 | #2b5ab9 |
| 200 | #c7d8f7 |
800 | #204897 |
| 300 | #a4c2f8 |
900 | #213f7b |
| 400 | #76a0f0 |
950 | #16284a |
| 500 | #4e82e7 |
Mixing the same #3366cc with 50% white gives #99b3e6, and with 50% black gives #1a3366. These modes mix sRGB values directly, so they are simpler than the scale.
Things to keep in mind
- Step names such as 50, 500 and 900 are a convention, not lightness values. A dark input may land on 600 or 700 instead of 500.
- When you pair two steps as text and background, do not rely on the step gap alone. Confirm 4.5:1 with Contrast Checker.
- For other hues that go together, use Color Palette Generator. To bridge two colors, combine Color Mixer with CSS Gradient Generator.
Frequently asked questions
How do I make lighter and darker versions of a color?
Enter the base color and choose the 50 to 950 scale to get 11 steps at once. If you want a simple version that mixes in a fixed share of white or black, choose Tints or Shades.
What is the difference between a tint, a shade and a tone?
A tint mixes in white, a shade mixes in black and a tone mixes in gray. The hue stays the same, but tints get paler, shades get darker and tones get duller.
Can I use the result in Tailwind directly?
Choose Tailwind v4 under Export for an @theme { --color-primary-50: ... } block, or v3 for an object to paste into your colors config. The token name is cleaned to lowercase letters, digits and hyphens.
Does my input color change?
In the scale, your color stays untouched at its closest step. A gray with no saturation produces a fully neutral scale.
Your colors are processed in the browser only and never sent to a server.