Tailwind Colors Cheatsheet
Har default Tailwind color hex, RGB, HSL, aur OKLCH values ke sath - kisi bhi format ya class name ko aik click mein copy karein.
slate
gray
zinc
neutral
stone
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
Base
Mukammal default Tailwind CSS color palette browse karein - sabhi 22 color families aur 11 shades, sath hi black, white, transparent, aur current - aur kisi bhi color ko hex code, RGB, HSL, OKLCH, ya paste karne ke liye tayyar Tailwind class name ke tor par copy karein.
What is Tailwind Colors Cheatsheet?
Tailwind aik bare default color palette ke sath ata hai: 22 named families (slate, red, blue, emerald, aur isi tarah baqi), har aik mein 50 (sab se halka) se 950 (sab se gehra) tak gyarah shades hain, jo shuru se hi aik sath behtareen lagne ke liye design ki gayi hain. Un 242 shades mein se har aik ki aik fixed, documented value hai - lekin yeh yaad rakhna ke `bg-sky-400` asal mein kaisa dikhta hai, ya kisi aese design tool ke liye iska RGB equivalent kya hai jo Tailwind class names nahi samajhta, aam tor par sab ke zehan mein nahi hota.
Yeh cheatsheet dono taraf se is kami ko poora karne ke liye mojood hai. Tailwind class se aik mukammal color value tak jana tab faida mand hota hai jab aap koi design kisi aise shakhs ke hawalay kar rahe hon jo Tailwind codebase ke bahar kaam kar raha ho, kisi render hue color ko spec ke khilaf debug kar rahe hon, ya kisi design system ki documentation bana rahe hon. Iske bar aks - kisi color se shuru karke uska Tailwind name dhoondna tab kaam aata hai jab koi designer aapko hex code de aur aap yeh jaanna chahte hon ke aaya yeh pehle se hi Tailwind ka built-in shade hai ya nahi (aur is liye isme `bg-[#0ea5e9]` jaisi arbitrary-value class ki zaroorat nahi hai).
OKLCH ko zyadatar mani hue hex, RGB, aur HSL formats ke sath shamil kiya gaya hai kyun ke yeh khud Tailwind ki taraf se v4 ke baad se apni color definitions ke liye internally use kiya jane wala format ban chuka hai, aur is liye bhi ke yeh aik waqayi behtar perceptually uniform color space hai - aik hi lightness value wale do OKLCH colors ankhon ko aik jaise roshan lagte hain, jo ke HSL ke lightness channel ke sath hamesha yaqeeni tor par sach nahi hota. Isay paas rakhna kisi bhi aise shakhs ke liye faida mand hai jo modern CSS color functions ke sath kaam kar raha ho ya Tailwind ke defaults ke sath consistently baithne ke liye kisi custom palette ko fine-tune kar raha ho.
How It Works
Aik copy format chuniye
Top par format switcher se Hex, RGB, HSL, OKLCH, ya Class chuniye. Yeh control karta hai ke aapke clipboard par kya copy hota hai aur har swatch ke neechay kya dikhaya jata hai.
Aik utility prefix chuniye (sirf Class mode)
Jab Class select ho, toh chuniye ke class name ko kis utility ko target karna chahiye - background, text, border, ring, fill, gradient stops, aur mazeed - kyun ke aik hi color token ko Tailwind mein kai mukhtalif CSS properties par apply kiya ja sakta hai.
Color dhoondne ke liye search karein ya scroll karein
Kisi family, shade number, ya hex fragment par seedha jaane ke liye search box ka use karein, ya Tailwind ki apni documentation ke use kiye gaye order mein color family ke mutabiq grouped mukammal palette ko scroll karein.
Copy karne ke liye kisi swatch par click karein
Kisi bhi swatch par click karne se filhal select kiya gaya format seedha aapke clipboard par copy ho jata hai, aur copy ki tasdeek ke liye aik mukhtasar checkmark aata hai.
Features
Mukammal default palette
Sabhi 22 color families aur 11 shades (50 se 950), sath hi black, white, transparent, aur current - mukammal set jo Tailwind bina kisi configuration ke deta hai.
Panch copy formats
Har swatch hex, RGB, HSL, OKLCH, ya Tailwind class string ke tor par dastiyab hai, jo usi source hex value se direct compute kiya jata hai taake har format baqi sab ke sath consistent rahe.
Selectable utility prefix
Class-name output sirf backgrounds tak محدود nahi hai - bg, text, border, ring, outline, fill, stroke, gradient stops, aur mazeed ke darmiyan switch karein taake aapko apni zaroorat ki exact class mil jaye.
Instant search
Mukammal grid ko scan karne ke bajaye foran color dhoondne ke liye family name, shade number, ya hex fragment ke zariye filter karein.
Common Uses
Tailwind design ko kisi non-Tailwind tool ke hawalay karna
Kisi design tool ya style guide mein palette document karte waqt Tailwind project mein use hone wale colors ke exact hex ya RGB values copy karein jo utility classes nahi samajhta.
Kisi diye gaye color ko Tailwind shade ke sath match karna
Yeh check karne ke liye ke aaya designer ka bataya hua color Tailwind ke default palette mein pehle se mojood hai, hex se search karein, taake ghair zaroori arbitrary-value class se bacha ja sake.
Modern CSS color functions ke sath kaam karna
Raw CSS likhte waqt jo `oklch()` use karti hai, ya jab koi aisi custom palette banayi ja rahi ho jo Tailwind ke defaults ke sath visually consistently baithay, kisi bhi Tailwind color ke liye OKLCH value hasil karein.
Sahi utility class foran generate karna
Prefix ko ring, border, ya gradient stop par switch karein aur khud type karne aur shade number ko manually dobara check karne ke bajaye exact class name copy karein.
Why Use Our Tailwind Colors Cheatsheet?
Har format generation ke waqt standard, published color-math formulas ka use karke usi underlying hex value se derive kiya jata hai, is liye kisi diye gaye swatch ke liye hex, RGB, HSL, aur OKLCH hamesha aapas mein consistent hote hain - is baat ka koi khatra nahi hota ke koi aik format manually enter kiya gaya ho aur baqi sab ke sath thora sa out of sync ho.
Built-in palette ke sath mukammal tor par aapke browser mein chalta hai, is liye koi network request nahi hoti aur formats switch karne ya search karne mein koi delay nahi hota, yahan tak ke poore 242-swatch palette mein bhi nahi.
Tips
- `transparent` aur `current` ki koi fixed color value nahi hoti, is liye unke liye hex/RGB/HSL/OKLCH copying disable hoti hai - lekin Class mode phir bhi kaam karta hai, kyun ke `bg-transparent` aur `text-current` apne aap mein valid classes hain.
- Yahan OKLCH lightness 0–100% scale par hai taake Tailwind ki apni v4 palette documentation se match kare, na ke 0–1 scale jo kuch CSS tools use karte hain - agar aap isay seedha stylesheet mein paste kar rahe hain toh double-check kar lein ke aapka project kya expect karta hai.
- Agar aap Tailwind ke kisi purane version par hain jismein OKLCH-based colors nahi hain, toh hex aur RGB values par bharosa kiya ja sakta hai - yeh Tailwind ke version ke baghair palette se bilkul match karte hain.