Skip to content

Instantly share code, notes, and snippets.

@ShahriarKh
Last active August 4, 2023 14:33
Show Gist options
  • Save ShahriarKh/5dc46dfd97ae5b1d0e3f036bc710bef9 to your computer and use it in GitHub Desktop.
Save ShahriarKh/5dc46dfd97ae5b1d0e3f036bc710bef9 to your computer and use it in GitHub Desktop.
tailwind colors scss variables
// Blue Gray (Slate)
//========================
$blue-gray-50: #F8FAFC;
$blue-gray-100: #F1F5F9;
$blue-gray-200: #E2E8F0;
$blue-gray-300: #CBD5E1;
$blue-gray-400: #94A3B8;
$blue-gray-500: #64748B;
$blue-gray-600: #475569;
$blue-gray-700: #334155;
$blue-gray-800: #1E293B;
$blue-gray-900: #0F172A;
$blue-gray-950: #020617;
// Cool Gray (Gray)
//========================
$cool-gray-50: #F9FAFB;
$cool-gray-100: #F3F4F6;
$cool-gray-200: #E5E7EB;
$cool-gray-300: #D1D5DB;
$cool-gray-400: #9CA3AF;
$cool-gray-500: #6B7280;
$cool-gray-600: #4B5563;
$cool-gray-700: #374151;
$cool-gray-800: #1F2937;
$cool-gray-900: #111827;
$cool-gray-950: #030712;
// Gray (Zinc)
//========================
$gray-50: #fafafa;
$gray-100: #f4f4f5;
$gray-200: #e4e4e7;
$gray-300: #d4d4d8;
$gray-400: #a1a1aa;
$gray-500: #71717a;
$gray-600: #52525b;
$gray-700: #3f3f46;
$gray-800: #27272a;
$gray-900: #18181b;
$gray-950: #09090b;
// True Gray (Neutral)
//========================
$true-gray-50: #FAFAFA;
$true-gray-100: #F5F5F5;
$true-gray-200: #E5E5E5;
$true-gray-300: #D4D4D4;
$true-gray-400: #A3A3A3;
$true-gray-500: #737373;
$true-gray-600: #525252;
$true-gray-700: #404040;
$true-gray-800: #262626;
$true-gray-900: #171717;
$true-gray-950: #0a0a0a;
// Warm Gray (Stone)
//========================
$warm-gray-50: #FAFAF9;
$warm-gray-100: #F5F5F4;
$warm-gray-200: #E7E5E4;
$warm-gray-300: #D6D3D1;
$warm-gray-400: #A8A29E;
$warm-gray-500: #78716C;
$warm-gray-600: #57534E;
$warm-gray-700: #44403C;
$warm-gray-800: #292524;
$warm-gray-900: #1C1917;
$warm-gray-950: #0c0a09;
// Red
//========================
$red-50: #fef2f2;
$red-100: #fee2e2;
$red-200: #fecaca;
$red-300: #fca5a5;
$red-400: #f87171;
$red-500: #ef4444;
$red-600: #dc2626;
$red-700: #b91c1c;
$red-800: #991b1b;
$red-900: #7f1d1d;
$red-950: #450a0a;
// Orange
//========================
$orange-50: #FFF7ED;
$orange-100: #FFEDD5;
$orange-200: #FED7AA;
$orange-300: #FDBA74;
$orange-400: #FB923C;
$orange-500: #F97316;
$orange-600: #EA580C;
$orange-700: #C2410C;
$orange-800: #9A3412;
$orange-900: #7C2D12;
$orange-950: #431407;
// Amber
//========================
$amber-50: #fffbeb;
$amber-100: #fef3c7;
$amber-200: #fde68a;
$amber-300: #fcd34d;
$amber-400: #fbbf24;
$amber-500: #f59e0b;
$amber-600: #d97706;
$amber-700: #b45309;
$amber-800: #92400e;
$amber-900: #78350f;
$amber-950: #451a03;
// Yellow
//========================
$yellow-50: #FEFCE8;
$yellow-100: #FEF9C3;
$yellow-200: #FEF08A;
$yellow-300: #FDE047;
$yellow-400: #FACC15;
$yellow-500: #EAB308;
$yellow-600: #CA8A04;
$yellow-700: #A16207;
$yellow-800: #854D0E;
$yellow-900: #713F12;
$yellow-950: #422006;
// Lime
//========================
$lime-50: #F7FEE7;
$lime-100: #ECFCCB;
$lime-200: #D9F99D;
$lime-300: #BEF264;
$lime-400: #A3E635;
$lime-500: #84CC16;
$lime-600: #65A30D;
$lime-700: #4D7C0F;
$lime-800: #3F6212;
$lime-900: #365314;
$lime-950: #1a2e05;
// Green
//========================
$green-50: #F0FDF4;
$green-100: #DCFCE7;
$green-200: #BBF7D0;
$green-300: #86EFAC;
$green-400: #4ADE80;
$green-500: #22C55E;
$green-600: #16A34A;
$green-700: #15803D;
$green-800: #166534;
$green-900: #14532D;
$green-950: #052e16;
// Emerald
//========================
$emerald-50: #ecfdf5;
$emerald-100: #d1fae5;
$emerald-200: #a7f3d0;
$emerald-300: #6ee7b7;
$emerald-400: #34d399;
$emerald-500: #10b981;
$emerald-600: #059669;
$emerald-700: #047857;
$emerald-800: #065f46;
$emerald-900: #064e3b;
$emerald-950: #022c22;
// Teal
//========================
$teal-50: #F0FDFA;
$teal-100: #CCFBF1;
$teal-200: #99F6E4;
$teal-300: #5EEAD4;
$teal-400: #2DD4BF;
$teal-500: #14B8A6;
$teal-600: #0D9488;
$teal-700: #0F766E;
$teal-800: #115E59;
$teal-900: #134E4A;
$teal-950: #042f2e;
// Cyan
//========================
$cyan-50: #ECFEFF;
$cyan-100: #CFFAFE;
$cyan-200: #A5F3FC;
$cyan-300: #67E8F9;
$cyan-400: #22D3EE;
$cyan-500: #06B6D4;
$cyan-600: #0891B2;
$cyan-700: #0E7490;
$cyan-800: #155E75;
$cyan-900: #164E63;
$cyan-950: #083344;
// Sky
//========================
$sky-50: #F0F9FF;
$sky-100: #E0F2FE;
$sky-200: #BAE6FD;
$sky-300: #7DD3FC;
$sky-400: #38BDF8;
$sky-500: #0EA5E9;
$sky-600: #0284C7;
$sky-700: #0369A1;
$sky-800: #075985;
$sky-900: #0C4A6E;
$sky-950: #082f49;
// Blue
//========================
$blue-50: #eff6ff;
$blue-100: #dbeafe;
$blue-200: #bfdbfe;
$blue-300: #93c5fd;
$blue-400: #60a5fa;
$blue-500: #3b82f6;
$blue-600: #2563eb;
$blue-700: #1d4ed8;
$blue-800: #1e40af;
$blue-900: #1e3a8a;
$blue-950: #172554;
// Indigo
//========================
$indigo-50: #eef2ff;
$indigo-100: #e0e7ff;
$indigo-200: #c7d2fe;
$indigo-300: #a5b4fc;
$indigo-400: #818cf8;
$indigo-500: #6366f1;
$indigo-600: #4f46e5;
$indigo-700: #4338ca;
$indigo-800: #3730a3;
$indigo-900: #312e81;
$indigo-950: #1e1b4b;
// Violet
//========================
$violet-50: #f5f3ff;
$violet-100: #ede9fe;
$violet-200: #ddd6fe;
$violet-300: #c4b5fd;
$violet-400: #a78bfa;
$violet-500: #8b5cf6;
$violet-600: #7c3aed;
$violet-700: #6d28d9;
$violet-800: #5b21b6;
$violet-900: #4c1d95;
$violet-950: #2e1065;
// Purple
//========================
$purple-50: #FAF5FF;
$purple-100: #F3E8FF;
$purple-200: #E9D5FF;
$purple-300: #D8B4FE;
$purple-400: #C084FC;
$purple-500: #A855F7;
$purple-600: #9333EA;
$purple-700: #7E22CE;
$purple-800: #6B21A8;
$purple-900: #581C87;
$purple-950: #3b0764;
// Fuchsia
//========================
$fuchsia-50: #FDF4FF;
$fuchsia-100: #FAE8FF;
$fuchsia-200: #F5D0FE;
$fuchsia-300: #F0ABFC;
$fuchsia-400: #E879F9;
$fuchsia-500: #D946EF;
$fuchsia-600: #C026D3;
$fuchsia-700: #A21CAF;
$fuchsia-800: #86198F;
$fuchsia-900: #701A75;
$fuchsia-950: #4a044e;
// Pink
//========================
$pink-50: #FDF2F8;
$pink-100: #FCE7F3;
$pink-200: #FBCFE8;
$pink-300: #F9A8D4;
$pink-400: #F472B6;
$pink-500: #EC4899;
$pink-600: #DB2777;
$pink-700: #BE185D;
$pink-800: #9D174D;
$pink-900: #831843;
$pink-950: #500724;
// Rose
//========================
$rose-50: #FFF1F2;
$rose-100: #FFE4E6;
$rose-200: #FECDD3;
$rose-300: #FDA4AF;
$rose-400: #FB7185;
$rose-500: #F43F5E;
$rose-600: #E11D48;
$rose-700: #BE123C;
$rose-800: #9F1239;
$rose-900: #881337;
$rose-950: #4c0519;
@ShahriarKh
Copy link
Author

ShahriarKh commented Nov 18, 2021

All colors are made by creative people in "tailwindcss". I just created a gist for easier working with scss variables.
See the color chart here: https://tailwindcss.com/docs/customizing-colors#color-palette-reference

Latest Update:

  • tailwind v2.2.16 (8 November 2021)
  • tailwind v3.3.3 (4 August 2023)

Please leave a comment if a newer version of colors are available.

Don' forget to give this gist a ⭐ if you found it helpful :)

@ShahriarKh
Copy link
Author

In version 3, some colors have been renamed:
blue-gray => slate
cool-gray => gray
gray => zinc
true-gray => neutral
warm-gray => stone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment