لوحات الألوان

لون neutral في Tailwind CSS

الدرجات الـ 11 للون neutral في Tailwind CSS، من neutral-50 الأفتح إلى neutral-950 الأغمق. اضغط على أي قيمة لنسخها.

درجات neutral

قيم HEX وRGB من Tailwind v3، وقيم OKLCH من Tailwind v4. اضغط على أي قيمة لنسخها.

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

انسخ اللوحة كاملة

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 (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⁩;
}

ألوان أخرى في Tailwind

slategrayzincstoneredorangeamberyellowlimegreenemeraldtealcyanskyblueindigovioletpurplefuchsiapinkrose

الأسئلة الشائعة

ما كود HEX للون Tailwind neutral-500؟

في Tailwind v3 قيمة neutral-500 هي ⁦#737373⁩، أي rgb(115, 115, 115). وفي Tailwind v4 يُعرَّف بالقيمة oklch(55.6% 0 none).

كيف أستخدم لون Tailwind neutral في مشروعي؟

استخدم فئات مثل bg-neutral-500 أو text-neutral-700 أو border-neutral-200. وفي Tailwind v4 يمكنك أيضًا استخدام متغير CSS var(--color-neutral-500) في ملفات CSS الخاصة بك.

أطر عمل أخرى

Tailwind CSS وMaterial Design وBootstrap علامات تجارية مملوكة لأصحابها. القيم مأخوذة من الوثائق الرسمية والحزم المنشورة لكل مشروع: Tailwind CSS 4.3.3 / 3.4.19, material-colors, Material Web (tokens), Bootstrap 5.3.8 / 4.6.2.