Color Shade Generator
Pick a base colour and instantly generate 11 swatches — 5 lighter tints (mixed with white), the original, and 5 darker shades (mixed with black). Each swatch is click-to-copy as HEX. Export the full ramp as CSS variables or a Tailwind colour object.
How to use
- 1
Pick a base colour
Use the colour picker, type a HEX value, or click one of the common-colour swatches. The ramp updates instantly.
- 2
Browse the 11 swatches
Lightest white is on the left, the base colour is in the middle (marked Base), darkest black is on the right. Five tints above, five shades below.
- 3
Click to copy
Click any swatch to copy its HEX value to your clipboard. The label and HEX are shown on the swatch.
- 4
Export as CSS or Tailwind tokens
Use the Copy buttons in the export panel to grab the full ramp as CSS custom properties or a Tailwind colour object — ready to paste into your design-system config.
Common use cases
- Generate a complete colour ramp for a design system from a single brand colour.
- Find the right tint or shade for hover/active/disabled UI states of a primary button.
- Build accessible colour scales — pair with the Contrast Checker tool to verify text legibility.
- Export CSS variables or Tailwind tokens for a new design token file.
Limitations
- The ramp uses linear RGB mixing (
base × (1 − amount) + white/black × amount), not HSL lightness. This is closer to what design tools like Figma produce when you mix colours in RGB mode, but the result may differ slightly from your design software's shade generator. - Alpha / opacity variants are not generated — use the related Color Picker or CSS Gradient Generator for those.
- The end swatches (pure white and pure black) are included for completeness but usually aren't useful as design tokens — exclude them when copying into your config.
Frequently asked questions
Related tools
View allColor Picker
Pick colours and convert between HEX, RGB, HSL.
Color Palette Generator
Generate harmonious colour palettes from a base colour.
CSS Gradient Generator
Build linear and radial CSS gradients visually.
Contrast Checker
Check WCAG colour contrast between two colours.