Farvepaletter

Tailwind CSS-farven neutral

De 11 nuancer af Tailwind CSS-farven neutral, fra neutral-50 (lysest) til neutral-950 (mørkest). Klik på en værdi for at kopiere den.

Nuancer af neutral

HEX og RGB fra Tailwind v3; OKLCH fra Tailwind v4. Klik på en værdi for at kopiere den.

neutral-50
neutral-100
neutral-200
neutral-300
neutral-400
neutral-500
neutral-600
neutral-700
neutral-800
neutral-900
neutral-950

Kopiér hele paletten

Tailwind v4 (CSS, @theme)

@theme {
  --color-neutral-50: oklch(98.5% 0 none);
  --color-neutral-100: oklch(97% 0 none);
  --color-neutral-200: oklch(92.2% 0 none);
  --color-neutral-300: oklch(87% 0 none);
  --color-neutral-400: oklch(70.8% 0 none);
  --color-neutral-500: oklch(55.6% 0 none);
  --color-neutral-600: oklch(43.9% 0 none);
  --color-neutral-700: oklch(37.1% 0 none);
  --color-neutral-800: oklch(26.9% 0 none);
  --color-neutral-900: oklch(20.5% 0 none);
  --color-neutral-950: oklch(14.5% 0 none);
}

Tailwind v3 (tailwind.config.js)

module.exports = {
  theme: {
    extend: {
      colors: {
        neutral: {
          50: '#fafafa',
          100: '#f5f5f5',
          200: '#e5e5e5',
          300: '#d4d4d4',
          400: '#a3a3a3',
          500: '#737373',
          600: '#525252',
          700: '#404040',
          800: '#262626',
          900: '#171717',
          950: '#0a0a0a'
        }
      }
    }
  }
}

CSS-variabler (HEX)

:root {
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0A0A0A;
}

Flere Tailwind-farver

slategrayzincstoneredorangeamberyellowlimegreenemeraldtealcyanskyblueindigovioletpurplefuchsiapinkrose

Prøv også

Farvepalet ud fra navnSkriv et navn, og få din egen color story paletteMønster med fødselsdagsfarverTern og striber af familiens fødselsdageFarveanalyse med selfieFind din årstid og dine bedste farver ud fra ét billede
Se alle gratis værktøjer →

Ofte stillede spørgsmål

Hvad er HEX-koden for Tailwind neutral-500?

I Tailwind v3 er neutral-500 #737373, altså rgb(115, 115, 115). I Tailwind v4 er den defineret som oklch(55.6% 0 none).

Hvordan bruger jeg Tailwind neutral i mit projekt?

Med klasser som bg-neutral-500, text-neutral-700 eller border-neutral-200. I Tailwind v4 kan du også bruge CSS-variablen var(--color-neutral-500) i din egen CSS.

Andre frameworks

Tailwind CSS, Material Design og Bootstrap er varemærker, der tilhører deres respektive ejere. Værdierne stammer fra deres dokumentation og offentlige pakker: Tailwind CSS 4.3.3 / 3.4.19, material-colors, Material Web (tokens), Bootstrap 5.3.8 / 4.6.2.