Color · Made a little simpler

Color Scale Generator

Build a stepped sRGB color ramp between two colors or generate tints and shades. Choose 2 to 32 swatches, preview transparency and export CSS variables.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
#336699
#6587A0
#97A7A7
#C8C8AD
#FAE8B4

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Color Scale Generator: how to use it

  1. Enter the base color and choose a custom endpoint, white for tints or black for shades.
  2. Set the number of swatches, including both endpoints.
  3. Read each HEX value or download the full scale as a CSS stylesheet.

Limits and notes

Uses premultiplied, encoded sRGB and rounds RGB channels to the nearest byte. Tints and shades keep the base opacity. Equal steps can look uneven to the eye.

How your privacy works →

Color Scale Generator: common questions

How do I create a three-step grayscale?

Use black and white as endpoints with three swatches. The center is #808080.

How many intermediate colors do I get?

Subtract two from the swatch count. With six swatches you get the endpoints and four intermediate colors.

Guides