Color Shades Generator
Enter one colour and a number of steps to get a row of lighter and darker versions, from nearly white to nearly black, as a list of hex codes.
Use the tool
Loading the tool…
About Color Shades Generator
Make lighter and darker shades of a colour. Enter the colour as hex, choose how many steps to make on each side, and choose whether the hex digits are capitals.
Worked example
Enter `#3b82f6` and choose 3 steps on each side. The tool lists three lighter and three darker shades of that blue.
Limits
Shades are generated mathematically. Check the contrast of text on each shade before you use it.
How to use Color Shades Generator
- Enter a hex colour and the number of steps on each side.
- Look at the swatches from light to dark.
- Copy the hex codes.
Good to know
- Tints mix your colour with white and shades mix it with black, in equal steps. The last step stops just short of pure white or black.
- The mixing is done on the red, green and blue values, a simple method that matches common design tools.
- Other methods, such as working in HSL or Lab, give different results.
- The tool does not check contrast. Use the contrast checker for text and background pairs.
Frequently asked questions
How many colours do I get?
Twice the number of steps plus your own colour, so 5 steps give 11 colours.
Can I use 3-digit hex codes?
Yes. A code like #fc0 is read as #ffcc00.
Is anything I type saved or sent?
No. The work happens in your browser on this page, and nothing is stored or sent to us.