Skip to content

Instantly share code, notes, and snippets.

@luckyshot

luckyshot/example.css

Last active Jan 15, 2021
Embed
What would you like to do?
TailWindCSS Color Palette as CSS native variables
html {
--colorIndigo50: #EEF2FF;
color: var(--colorIndigo50);
}
/**
* TailWindCSS Color Palette
* Source: https://tailwindcss.com/docs/customizing-colors#color-palette-reference
*/
/* Blue Gray */
--colorBlueGray50: #F8FAFC;
--colorBlueGray100: #F1F5F9;
--colorBlueGray200: #E2E8F0;
--colorBlueGray300: #CBD5E1;
--colorBlueGray400: #94A3B8;
--colorBlueGray500: #64748B;
--colorBlueGray600: #475569;
--colorBlueGray700: #334155;
--colorBlueGray800: #1E293B;
--colorBlueGray900: #0F172A;
/* Cool Gray */
--colorCoolGray50: #F9FAFB;
--colorCoolGray100: #F3F4F6;
--colorCoolGray200: #E5E7EB;
--colorCoolGray300: #D1D5DB;
--colorCoolGray400: #9CA3AF;
--colorCoolGray500: #6B7280;
--colorCoolGray600: #4B5563;
--colorCoolGray700: #374151;
--colorCoolGray800: #1F2937;
--colorCoolGray900: #111827;
/* Gray */
--colorGray50: #FAFAFA;
--colorGray100: #F4F4F5;
--colorGray200: #E4E4E7;
--colorGray300: #D4D4D8;
--colorGray400: #A1A1AA;
--colorGray500: #71717A;
--colorGray600: #52525B;
--colorGray700: #3F3F46;
--colorGray800: #27272A;
--colorGray900: #18181B;
/* True Gray */
--colorTrueGray50: #FAFAFA;
--colorTrueGray100: #F5F5F5;
--colorTrueGray200: #E5E5E5;
--colorTrueGray300: #D4D4D4;
--colorTrueGray400: #A3A3A3;
--colorTrueGray500: #737373;
--colorTrueGray600: #525252;
--colorTrueGray700: #404040;
--colorTrueGray800: #262626;
--colorTrueGray900: #171717;
/* Warm Gray */
--colorWarmGray50: #FAFAF9;
--colorWarmGray100: #F5F5F4;
--colorWarmGray200: #E7E5E4;
--colorWarmGray300: #D6D3D1;
--colorWarmGray400: #A8A29E;
--colorWarmGray500: #78716C;
--colorWarmGray600: #57534E;
--colorWarmGray700: #44403C;
--colorWarmGray800: #292524;
--colorWarmGray900: #1C1917;
/* Red */
--colorRed50: #FEF2F2;
--colorRed100: #FEE2E2;
--colorRed200: #FECACA;
--colorRed300: #FCA5A5;
--colorRed400: #F87171;
--colorRed500: #EF4444;
--colorRed600: #DC2626;
--colorRed700: #B91C1C;
--colorRed800: #991B1B;
--colorRed900: #7F1D1D;
/* Orange */
--colorOrange50: #FFF7ED;
--colorOrange100: #FFEDD5;
--colorOrange200: #FED7AA;
--colorOrange300: #FDBA74;
--colorOrange400: #FB923C;
--colorOrange500: #F97316;
--colorOrange600: #EA580C;
--colorOrange700: #C2410C;
--colorOrange800: #9A3412;
--colorOrange900: #7C2D12;
/* Amber */
--colorAmber50: #FFFBEB;
--colorAmber100: #FEF3C7;
--colorAmber200: #FDE68A;
--colorAmber300: #FCD34D;
--colorAmber400: #FBBF24;
--colorAmber500: #F59E0B;
--colorAmber600: #D97706;
--colorAmber700: #B45309;
--colorAmber800: #92400E;
--colorAmber900: #78350F;
/* Yellow */
--colorYellow50: #FEFCE8;
--colorYellow100: #FEF9C3;
--colorYellow200: #FEF08A;
--colorYellow300: #FDE047;
--colorYellow400: #FACC15;
--colorYellow500: #EAB308;
--colorYellow600: #CA8A04;
--colorYellow700: #A16207;
--colorYellow800: #854D0E;
--colorYellow900: #713F12;
/* Lime */
--colorLime50: #F7FEE7;
--colorLime100: #ECFCCB;
--colorLime200: #D9F99D;
--colorLime300: #BEF264;
--colorLime400: #A3E635;
--colorLime500: #84CC16;
--colorLime600: #65A30D;
--colorLime700: #4D7C0F;
--colorLime800: #3F6212;
--colorLime900: #365314;
/* Green */
--colorGreen50: #F0FDF4;
--colorGreen100: #DCFCE7;
--colorGreen200: #BBF7D0;
--colorGreen300: #86EFAC;
--colorGreen400: #4ADE80;
--colorGreen500: #22C55E;
--colorGreen600: #16A34A;
--colorGreen700: #15803D;
--colorGreen800: #166534;
--colorGreen900: #14532D;
/* Emerald */
--colorEmerald50: #ECFDF5;
--colorEmerald100: #D1FAE5;
--colorEmerald200: #A7F3D0;
--colorEmerald300: #6EE7B7;
--colorEmerald400: #34D399;
--colorEmerald500: #10B981;
--colorEmerald600: #059669;
--colorEmerald700: #047857;
--colorEmerald800: #065F46;
--colorEmerald900: #064E3B;
/* Teal */
--colorTeal50: #F0FDFA;
--colorTeal100: #CCFBF1;
--colorTeal200: #99F6E4;
--colorTeal300: #5EEAD4;
--colorTeal400: #2DD4BF;
--colorTeal500: #14B8A6;
--colorTeal600: #0D9488;
--colorTeal700: #0F766E;
--colorTeal800: #115E59;
--colorTeal900: #134E4A;
/* Cyan */
--colorCyan50: #ECFEFF;
--colorCyan100: #CFFAFE;
--colorCyan200: #A5F3FC;
--colorCyan300: #67E8F9;
--colorCyan400: #22D3EE;
--colorCyan500: #06B6D4;
--colorCyan600: #0891B2;
--colorCyan700: #0E7490;
--colorCyan800: #155E75;
--colorCyan900: #164E63;
/* Light Blue */
--colorLightBlue50: #F0F9FF;
--colorLightBlue100: #E0F2FE;
--colorLightBlue200: #BAE6FD;
--colorLightBlue300: #7DD3FC;
--colorLightBlue400: #38BDF8;
--colorLightBlue500: #0EA5E9;
--colorLightBlue600: #0284C7;
--colorLightBlue700: #0369A1;
--colorLightBlue800: #075985;
--colorLightBlue900: #0C4A6E;
/* Blue */
--colorBlue50: #EFF6FF;
--colorBlue100: #DBEAFE;
--colorBlue200: #BFDBFE;
--colorBlue300: #93C5FD;
--colorBlue400: #60A5FA;
--colorBlue500: #3B82F6;
--colorBlue600: #2563EB;
--colorBlue700: #1D4ED8;
--colorBlue800: #1E40AF;
--colorBlue900: #1E3A8A;
/* Indigo */
--colorIndigo50: #EEF2FF;
--colorIndigo100: #E0E7FF;
--colorIndigo200: #C7D2FE;
--colorIndigo300: #A5B4FC;
--colorIndigo400: #818CF8;
--colorIndigo500: #6366F1;
--colorIndigo600: #4F46E5;
--colorIndigo700: #4338CA;
--colorIndigo800: #3730A3;
--colorIndigo900: #312E81;
/* Violet */
--colorViolet50: #F5F3FF;
--colorViolet100: #EDE9FE;
--colorViolet200: #DDD6FE;
--colorViolet300: #C4B5FD;
--colorViolet400: #A78BFA;
--colorViolet500: #8B5CF6;
--colorViolet600: #7C3AED;
--colorViolet700: #6D28D9;
--colorViolet800: #5B21B6;
--colorViolet900: #4C1D95;
/* Purple */
--colorPurple50: #FAF5FF;
--colorPurple100: #F3E8FF;
--colorPurple200: #E9D5FF;
--colorPurple300: #D8B4FE;
--colorPurple400: #C084FC;
--colorPurple500: #A855F7;
--colorPurple600: #9333EA;
--colorPurple700: #7E22CE;
--colorPurple800: #6B21A8;
--colorPurple900: #581C87;
/* Fuchsia */
--colorFuchsia50: #FDF4FF;
--colorFuchsia100: #FAE8FF;
--colorFuchsia200: #F5D0FE;
--colorFuchsia300: #F0ABFC;
--colorFuchsia400: #E879F9;
--colorFuchsia500: #D946EF;
--colorFuchsia600: #C026D3;
--colorFuchsia700: #A21CAF;
--colorFuchsia800: #86198F;
--colorFuchsia900: #701A75;
/* Pink */
--colorPink50: #FDF2F8;
--colorPink100: #FCE7F3;
--colorPink200: #FBCFE8;
--colorPink300: #F9A8D4;
--colorPink400: #F472B6;
--colorPink500: #EC4899;
--colorPink600: #DB2777;
--colorPink700: #BE185D;
--colorPink800: #9D174D;
--colorPink900: #831843;
/* Rose */
--colorRose50: #FFF1F2;
--colorRose100: #FFE4E6;
--colorRose200: #FECDD3;
--colorRose300: #FDA4AF;
--colorRose400: #FB7185;
--colorRose500: #F43F5E;
--colorRose600: #E11D48;
--colorRose700: #BE123C;
--colorRose800: #9F1239;
--colorRose900: #881337;
@luckyshot

This comment has been minimized.

Copy link
Owner Author

@luckyshot luckyshot commented Jan 15, 2021

image
image

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