Tailwind CSS रंग पैलेट और शेड्स स्केल जनरेटर (50-950)
Tailwind CSS रंग पैलेट और शेड्स स्केल जनरेटर (50-950)
यह टूल 100% आपके ब्राउज़र में सुरक्षित रूप से चलता है। आपका कोड, टोकन और संवेदनशील डेटा कभी भी बाहरी सर्वर पर अपलोड नहीं होता।
मूल वास्तुकला और गणितीय सूत्र
Luminance Scale = Lerp(Base Color, White [50]) ➔ Base Color [500] ➔ Lerp(Base Color, Black [950])
The generator isolates the primary hue and mathematically scales the lightness channel up for background tints (50 to 400) and down for text shades (600 to 950).
सर्वोत्तम अभ्यास और आवश्यक दिशानिर्देश
- Lock the 500 Shade to Your Brand: In Tailwind, the 500 shade is traditionally the vibrant, primary brand color used for primary buttons and active states. Build the rest of the scale symmetrically around it.
- Use 50 and 900 for Backgrounds: The absolute lightest shades (50 and 100) are explicitly designed for massive background panels, while the darkest (900 and 950) are designed for highly legible typography.
- Export to Tailwind Config: Once generated, copy the raw JavaScript object directly into the `theme.extend.colors` block of your `tailwind.config.js` file to instantly compile the utility classes.