Pick a base color and generate a full Tailwind CSS shade scale from 50 to 950. Click any swatch to copy its hex value. Export as a ready-to-paste Tailwind config.
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
primary: {
50: '#f3f6fc',
100: '#e0eafa',
200: '#bed4f8',
300: '#8db5f7',
400: '#4f8ff7',
500: '#3b82f6',
600: '#044ec8',
700: '#033fa0',
800: '#053075',
900: '#062251',
950: '#05152e',
},
},
},
},
}A Tailwind color generator takes a single base color and computes the full 11-shade scale that Tailwind CSS expects: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, and 950. Tailwind ships with carefully crafted default palettes, but custom brand colors need the same shade distribution to work correctly with utility classes like bg-primary-100, text-primary-700, and ring-primary-500. Manually picking 11 harmonious shades is tedious and error-prone. This tool uses HSL-based interpolation to generate lighter tints for the low shades and darker tones for the high shades, keeping hue consistent and adjusting saturation naturally so the entire scale looks cohesive. The base color becomes shade 500 (the midpoint), lighter shades are generated by increasing lightness and slightly reducing saturation, and darker shades decrease lightness while maintaining richness. You get a visual grid of all 11 swatches with hex values, click any swatch to copy it, and export the complete colors configuration ready to paste into tailwind.config.js. All computation runs in your browser with no server calls.
Use the color picker or type a hex code directly. The base color becomes shade 500 in the generated scale. You can also click one of the 8 starter colors to begin from a popular palette.
All 11 shades from 50 (lightest) to 950 (darkest) are displayed in a visual grid. Each swatch shows its shade number and hex value. Click any swatch to copy its hex code to your clipboard.
Set the variable name (default: primary) and click Copy Config to get a complete tailwind.config.js snippet. Paste it into your theme.extend.colors section and all Tailwind utilities will use your custom palette.
Create beautiful linear, radial and conic CSS gradients with live preview. Copy CSS or Tailwind code.
Build layered box shadows visually with offset, blur, spread and color controls. Copy CSS instantly.
Design custom border-radius shapes with independent corner controls and live preview.
Visual flexbox layout builder. Configure direction, wrap, alignment and gap with live preview.
Visual CSS grid builder with rows, columns, gap and named areas. Copy CSS and HTML code.
Create beautiful text shadows with offset, blur and color. Multiple layers and live preview.