About Tailwind Palette Generator
This tool generates Tailwind-style shades (50-950) from a base color, then outputs both Tailwind config snippets and CSS variables.
Core Features
- Base color input: color picker and HEX text input.
- Automatic shade generation: creates 11 normalized shades from light to dark.
- Palette key normalization: sanitizes palette names for safe config keys.
- Multiple outputs: Tailwind
colorsconfig, CSS variables, and full color list. - Quick copy actions: copy single shade, full palette, or specific output block.
How To Use
- Choose a base color and define a palette name.
- Review generated shades from 50 to 950.
- Copy Tailwind config or CSS variables into your project.
- Use consistent token names in components.
Typical Use Cases
- Bootstrapping or iterating a design system theme.
- Adding brand colors to Tailwind projects quickly.
- Maintaining both Tailwind tokens and native CSS variables.
FAQ
Why is my HEX value invalid?
Use 3-digit or 6-digit HEX with #, for example #3B82F6.
Why are shades not exactly the same as design files?
The tool generates shades algorithmically. Treat output as a strong baseline and fine-tune key steps if needed.