Generador de paleta de colores Tailwind
Convierte cualquier color base en una escala de colores Tailwind CSS completa. Obtienes el conjunto completo de tonos del 50 al 950 con el fragmento de configuración exacto listo para pegar en tailwind.config.js.
The design-system counterpart is the Material Color Palette Generator, and a palette can also be derived from an existing image with the Color Palette Extractor. The contrast of any pair is confirmed by the Color Contrast Checker.
Cómo usar Paleta Tailwind
- 1 Enter a base colour, or paste one from an existing brand guide.
- 2 The generator produces the full scale from 50 through 950, matching Tailwind's naming convention.
- 3 Check that the steps you will use for text pass contrast against the steps you will use for surfaces.
- 4 Copy the generated values as a JavaScript object to paste into your Tailwind configuration.
Cómo usarlo
Escribe un color hex o elige uno con el selector. La escala se construye al instante. Copia el fragmento de configuración y pégalo bajo theme.extend.colors.
- Escala completa de tonos del 50 al 950
- Fragmento de tailwind.config listo para pegar
- Salida de un solo color y de tema completo
- Haz clic en cualquier muestra para copiar su hex
- Se ejecuta enteramente en tu navegador
Preguntas frecuentes
Why does Tailwind use numeric steps rather than names like "light" and "dark"?
Numbers are scalable and unambiguous. A named system has no obvious slot for a step between "light" and "lighter", whereas a numeric ramp can accommodate any number of steps in a predictable order. The numbers also communicate relative position without needing to remember which name maps to which intensity.
How do I integrate a custom palette without breaking utilities?
Extend rather than replace. Adding your scale under a new key in the `theme.extend.colors` object keeps Tailwind's default palette intact, so existing classes continue to work while your new tokens become available alongside them. Replacing the default palette wholesale breaks any class you have not migrated yet.
Do I need a step for every value?
No, but keeping the full ramp is worth the few bytes. A complete scale means that when a design calls for a slightly stronger border or a subtly different hover state, there is already a value for it. The alternative is that people reach for arbitrary values, and the palette quietly stops being a system.
Herramientas de imagen y color relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Paleta Tailwind: