Task path / input to outcome
How to generate a color shade scale
- 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.
- 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.
- 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.
- 04
Check the blend behavior
Shades below the base are mixed toward black and tints above it toward white, but the blend never goes more than 78% of the way to either extreme. The end steps stay chromatic and usable instead of collapsing into near-black or near-white.
- 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.
- 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.