Tailwind Scale Generator

Enter a brand color to generate a ready-to-use tailwind.config.js — supports multiple scales, v3 / v4 formats, and TypeScript
Utility Preview

About Tailwind CSS Color Export

Build a custom Tailwind CSS color config from your palette. Define scale names and values, then export a ready-to-paste tailwind.config.js colors block. The generated config pastes directly into tailwind.config.js — no manual reformatting of scale names or values needed.

Useful for front-end developers picking up a design handoff, turning a design system palette into a working Tailwind config in one step.

Common questions

  • How do I export colors for Tailwind CSS? Define your scale names and values, and the tool generates a ready-to-paste colors section for your tailwind.config.js.
  • Can I export more than one color family? Yes — add as many named scales as you need (primary, accent, neutral, etc.) and export them together in one config block.
  • Does it work with Tailwind v3 and v4? The output is a standard colors object that works with both; for v4 you can also paste the values into @theme custom properties.