How to use the generator
- Enter a Base color as a hex code, an rgb() value or a color name, or pick one with the color picker. Random color gives you a starting point.
- Set the number of Steps, from 4 to 20, for the tints, shades and tones.
- Click any swatch to copy its hex code, or copy the whole scale with Copy CSS variables or Copy Tailwind colors.
The page address updates with your color, so you can bookmark it or send the link to someone.
Tints, shades and tones: what's the difference?
- A tint is your color mixed with white. Tints are lighter and softer, good for backgrounds and hover states.
- A shade is your color mixed with black. Shades are darker, good for text, borders and pressed states.
- A tone is your color mixed with gray. Tones are more muted and calm.
The 50–950 scale
Design systems such as Tailwind CSS name colors from 50 (lightest) to 950 (darkest). This tool places your color at the step that matches its lightness, then builds the other steps around it with the same hue. Copy the scale as CSS custom properties or as a Tailwind color object.
Using the scale in a design
- 50–100: page and card backgrounds, subtle highlights.
- 200–300: borders, dividers and disabled states.
- 500–600: the main brand color for buttons and links.
- One step darker: hover and pressed states, for example 700 for a 600 button.
- 800–950: headings and body text on light backgrounds.
FAQ
Which step should I use for text?
Usually 700–950 on light backgrounds and 50–200 on dark ones. Check the pair with the contrast checker to be sure.
Why isn't my color at step 500?
Because it is placed by its lightness. A dark navy may land on 800 and a pale yellow on 200, so the rest of the scale stays evenly spaced from light to dark.
How is this different from a color palette?
This tool stays on one hue and changes only lightness and saturation. To combine different colors that go well together, use the palette generator.