Skip to content
Toolars
Explore

Color Shades Generator

Set separate darken and lighten steps; inspect HEX, RGBA and HSL details and copy the whole shade palette.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Preparing offline use…

Privacy information
Report bug

Task path / input to outcome

How to generate a color shade scale

  1. 01

    Set the base color

    Enter a hex value under Base color — #RGB, #RGBA, #RRGGBB, and #RRGGBBAA all work, and the field opens with #6D5EF8. The base color always sits in the middle of the finished scale. Darken step (%) · Lighten step (%) · Steps on each side · Copy all colors

  2. 02

    Choose the number of shades

    Set Number of shades to an integer from 3 to 20 — the default is 9. An odd count balances the darker and lighter sides evenly around the base; an even count still centers the base and gives the light side one extra swatch.

  3. 03

    Generate the ramp

    Press Generate shades. The palette runs from deep shades through your base color to light tints, and every swatch is numbered and labeled with its hex value, so position 1 is always the darkest step.

  4. 04

    Check the blend behavior

    Set separate darken and lighten steps from 1% to 100%. Each successive swatch mixes the base toward black or white by another step, capped at 100%; the end colors can therefore reach black or white. The base alpha is preserved.

  5. 05

    Load the sample scale

    Press Load sample to generate seven shades around #0EA5E9 — a complete reference run you can inspect before entering your own brand color. Reset restores the #6D5EF8 base and the count of 9.

  6. 06

    Copy or download the tokens

    Press Copy output to copy a :root block of --toolars-shade-1 … custom properties, or Download to save it as toolars-color-shades.css, ready to paste into a stylesheet. Each swatch card also shows its hex value for one-off copying. Export the current result. HEX / RGBA / HSL / JSON.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

Color Shades Generator uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Immediate reset

Clear the tab and the active working data is gone.

What Color Shades Generator actually does

The base alpha is preserved.

Common questions

How many shades can one scale have?
Between 3 and 20, set with the Number of shades field; the workspace defaults to 9. A count outside that range is rejected with a message that names the limit. Set separate darken and lighten steps; inspect HEX, RGBA and HSL details and copy the whole shade palette. Export the current result. HEX / RGBA / HSL / JSON.
How is the scale computed?
Set separate darken and lighten steps from 1% to 100%. Each successive swatch mixes the base toward black or white by another step, capped at 100%; the end colors can therefore reach black or white. The base alpha is preserved.
What changes with an even number of shades?
The base color still holds the middle position, but the two sides cannot mirror each other exactly: an even count gives the lighter side one more swatch than the darker side. Choose an odd count like 9 or 11 when you want a perfectly symmetric ramp.
Does the scale preserve transparency?
Yes. If the base color carries an alpha byte — for example #6D5EF8CC — the same alpha is kept across the whole ramp, and the exported hex values gain the alpha byte whenever the base alpha is below 1.
What format does the export use?
A :root block of CSS custom properties named --toolars-shade-1 through --toolars-shade-N holding the hex values, downloadable as a .css file or copied to the clipboard. Each swatch card also displays its hex value for direct copying.
Is the color sent anywhere?
No. The whole ramp is computed inside this browser tab, inputs and results never leave it, and no account is required.

Keep reading

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

CSS Loader Generator

264 loader templates: 24 geometries × 11 motion profiles; filter by category and inspect the animation.

Create

CSS Checkbox Generator

24 checkbox templates: eight marks × three transitions; click or press Space in the native preview.

Create

CSS Switch Generator

18 switch templates: six thumb shapes × three transitions; test the native control by click or keyboard.

Create

CSS Clip Path Generator

24 clip shapes, primitive parameters and editable polygon points; export CSS or a declaration.

Create