Color Shades Generator
Enter a base color in any format the color converter reads, then pick tints, shades or tones. Each swatch shows its HEX value and percentage, and you can copy one swatch or the whole list.
Color Shades Generator runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Enter a base color Pick a base color or type any color as rgb(), hsl(), hsv(), hwb() or oklch(). Transparency in the base color is ignored. A color outside the screen range uses the nearest color that fits, and the tool tells you so.
- Choose the mode and the steps Pick tints (mixed with white), shades (mixed with black), tones (mixed with grey) or all three. Choose 2 to 20 steps. The default is 10, and the scale always starts with the base color as its first swatch.
- Copy a swatch or the export Press any swatch to copy its HEX code. Pick HEX list, CSS variables or JSON, then press Copy the whole export. CSS variables are named after the mode, such as --tints-50.
Questions
What is the difference between tints, shades and tones?
A tint moves the base color toward white, a shade moves it toward black, and a tone moves it toward the neutral grey #808080. Each step mixes the channels by the same share, so the scale runs from the base color to the target color.
How are the percentages and variable names worked out?
Each swatch shows its step as a percentage of the total steps, so the base color is 0% and the target color is 100%. CSS variable names use that percentage, such as --shades-30, and keep only lowercase letters, digits and hyphens.