{
 "slug": "tailwind-css-colors",
 "name": "Tailwind CSS Colors",
 "author": "Tailwind Labs",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "The default Tailwind CSS color palette: 26 hues in 11 shades each (including taupe, mauve, mist and olive in tailwindcss 4.3.5), defined as OKLCH CSS variables in the MIT-licensed framework.",
 "category": {
  "slug": "color-palettes",
  "name": "Color palettes and gradients"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/tailwindlabs.png",
 "logo_letter": "T",
 "links": {
  "repo": "https://github.com/tailwindlabs/tailwindcss",
  "website": "https://tailwindcss.com/docs/colors",
  "api_docs": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/tailwind-css-colors/demo.jpg",
  "alt": "All 26 color families in 11 shades each, next to a report card with status labels, three buttons and the same card in dark mode, all colored only with palette values.",
  "caption": "Made by AgentGid with tailwindcss 4.3.5 (npm), theme.css color values only. Tailwind CSS is under the MIT license, which allows showing and copying the colors; the MIT notice stays with copies of the file. No Tailwind logo is used."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Whole palette free; it ships with the tailwindcss package.",
   "source": {
    "label": "tailwindcss.com/docs/colors",
    "url": "https://tailwindcss.com/docs/colors"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT",
   "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
   "note": "MIT allows use in paid products; no visible credit is needed.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install tailwindcss. No key or account is needed.",
   "source": {
    "label": "github.com/tailwindlabs/tailwindcss",
    "url": "https://github.com/tailwindlabs/tailwindcss"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT",
  "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE",
  "summary": "Free for personal and paid products under the MIT license, with no visible credit needed. If you copy the file with the color values, keep its short license notice; do not use the Tailwind name or logo as if your product were official.",
  "pages_read": 1,
  "rules": [
   "Keep the MIT copyright notice if you copy the theme.css file itself.",
   "Do not use the Tailwind name or logo to imply endorsement (see the Tailwind trademark policy)."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "You may not use the Tailwind name or logos in any way that could mistakenly imply any official connection with or endorsement of Tailwind Labs Inc.",
    "source": {
     "label": "tailwindcss.com/brand",
     "url": "https://tailwindcss.com/brand"
    },
    "note": "Passing the color file on is allowed with the MIT notice kept; do not name your product so it looks official."
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-09",
  "commercial_use_page": "https://agentgid.com/assets/tailwind-css-colors/commercial-use/"
 },
 "overview": {
  "heading": "Tailwind CSS Colors: a ready color palette for sites",
  "body": "Tailwind CSS Colors is the free set of colors that comes with Tailwind CSS, a popular toolkit for styling websites. It has 26 color families, from red and blue to several grays, each in 11 shades from very light (50) to very dark (950). You or your AI assistant pick a color by name, like sky-500, so buttons, labels and dark mode match without a designer."
 },
 "uses": [
  {
   "title": "Status labels in an app",
   "text": "Give each state its own color family: green for done, amber for waiting, rose for blocked. A light shade for the background and a dark one for the text keeps the label readable.",
   "idea": false,
   "image": null
  },
  {
   "title": "A dark version of the page",
   "text": "Write a second color for dark mode next to the first one, like a white card that turns dark gray. The page switches when the visitor's system is in dark mode.",
   "idea": false,
   "image": null
  },
  {
   "title": "Your brand color next to the defaults",
   "text": "Add your own brand colors under a name like midnight, and they work everywhere the built-in colors do.",
   "idea": false,
   "image": null
  },
  {
   "title": "Matching colors in your own styles",
   "text": "The same colors are also named values you can use in your own style rules, for example a link color in an article. Everything stays in one palette.",
   "idea": false,
   "image": null
  },
  {
   "title": "The palette on a page without Tailwind",
   "text": "Copy the color values into a plain page or an email template that does not use Tailwind. Keep the license notice with the copied file.",
   "idea": true,
   "image": null
  },
  {
   "title": "Colors for charts and dashboards",
   "text": "Give each line or bar in a chart its own family at the same shade, like blue-500, emerald-500 and amber-500. They look equally strong and easy to tell apart.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "Use the Tailwind CSS default palette for this page: zinc for text and borders, indigo-600 for the main button, emerald, amber and rose 100/800 for status labels, and add dark: colors for dark mode; write full class names, never build them from variables.",
  "install": "npm install tailwindcss @tailwindcss/vite",
  "install_note": "In a Vite project, install Tailwind and its Vite plugin (the docs also cover other setups and a quick in-browser trial).",
  "code": [
   {
    "tab": "Step 1",
    "intro": "Import Tailwind in your main style file; the whole color palette comes with it.",
    "source": "@import \"tailwindcss\";"
   },
   {
    "tab": "Step 2",
    "intro": "Use a color name and a shade in a class, such as bg-sky-500 for a background or text-gray-950 for text.",
    "source": "<div class=\"bg-sky-500 text-white\">Hello</div>"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "className={`bg-${color}-600 hover:bg-${color}-500`}",
   "fix": "Map each prop to full class names: const colorVariants = { blue: \"bg-blue-600 hover:bg-blue-500\", red: \"bg-red-600 hover:bg-red-500\" }",
   "why": "Tailwind reads files as plain text, so classes glued together at run time are never generated and the color is missing.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Add colors under theme.extend.colors in tailwind.config.js (the v3 way) and expect v4 to read it",
   "fix": "Define them in CSS with @theme { --color-brand-500: ... }, or load the old file explicitly with @config",
   "why": "Version 4 no longer finds a JavaScript config file on its own.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Put new color variables in :root or inside a media query and expect bg-brand-500 to exist",
   "fix": "Use a top-level @theme block for colors that need classes; keep :root for plain variables",
   "why": "Only theme variables create classes, and they must be at the top level.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Ship the Play CDN script tag on a live site",
   "fix": "Install tailwindcss with the Vite plugin, the PostCSS plugin or the Tailwind CLI so a static style file is built",
   "why": "The Play CDN is for trying things in the browser only.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Treat the hex code copied from the docs as the exact color",
   "fix": "Use the OKLCH value (or var(--color-sky-500)) when the exact color matters; hex is the nearest match",
   "why": "The palette is defined in OKLCH and the docs copy only the nearest hex.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install tailwindcss",
  "repo": "https://github.com/tailwindlabs/tailwindcss",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": null,
  "formats": [],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Colors: Tailwind CSS default palette (MIT)",
  "rules_text": "- Tailwind CSS Colors (Color palettes and gradients). The default Tailwind CSS color palette: 26 hues in 11 shades each (including taupe, mauve, mist and olive in tailwindcss 4.3.5), defined as OKLCH CSS variables in the MIT-licensed framework. Price: free; commercial use OK; no credit needed.\n  Connect: npm tailwindcss.\n  Rule: Keep the MIT copyright notice if you copy the theme.css file itself.\n  Rule: Do not use the Tailwind name or logo to imply endorsement (see the Tailwind trademark policy).\n  License: https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE (checked 2026-11-09; details: https://agentgid.com/assets/tailwind-css-colors/)",
  "agent_md": "https://agentgid.com/assets/tailwind-css-colors/agent.md",
  "card_json": "https://agentgid.com/assets/tailwind-css-colors/card.json"
 },
 "popularity": {
  "gid_score": 89,
  "stars": 98647,
  "downloads_7d": 187514210,
  "downloads_7d_label": "187.5M",
  "downloads_change_4w_pct": 14.1,
  "eco": "npm",
  "package": "tailwindcss",
  "repo": "tailwindlabs/tailwindcss",
  "agent_projects": 1930,
  "agent_projects_total": 4799,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-17",
     30211493
    ],
    [
     "2025-11-24",
     29673785
    ],
    [
     "2025-12-01",
     30579564
    ],
    [
     "2025-12-08",
     31925941
    ],
    [
     "2025-12-15",
     29704902
    ],
    [
     "2025-12-22",
     20194237
    ],
    [
     "2025-12-29",
     23115766
    ],
    [
     "2026-01-05",
     30441896
    ],
    [
     "2026-01-12",
     41756347
    ],
    [
     "2026-01-19",
     42313236
    ],
    [
     "2026-01-26",
     40268094
    ],
    [
     "2026-02-02",
     52473495
    ],
    [
     "2026-02-09",
     43806275
    ],
    [
     "2026-02-16",
     53575099
    ],
    [
     "2026-02-23",
     58732702
    ],
    [
     "2026-03-02",
     57024095
    ],
    [
     "2026-03-09",
     59599671
    ],
    [
     "2026-03-16",
     69149925
    ],
    [
     "2026-03-23",
     83475136
    ],
    [
     "2026-03-30",
     80763709
    ],
    [
     "2026-04-06",
     77976558
    ],
    [
     "2026-04-13",
     92606987
    ],
    [
     "2026-04-20",
     100888462
    ],
    [
     "2026-04-27",
     98038678
    ],
    [
     "2026-05-04",
     102105350
    ],
    [
     "2026-05-11",
     109817355
    ],
    [
     "2026-05-18",
     111353559
    ],
    [
     "2026-05-25",
     106181555
    ],
    [
     "2026-06-01",
     114369482
    ],
    [
     "2026-06-08",
     117344640
    ],
    [
     "2026-06-15",
     122408191
    ],
    [
     "2026-06-22",
     118246761
    ],
    [
     "2026-06-29",
     118407299
    ],
    [
     "2026-07-06",
     130771009
    ],
    [
     "2026-07-13",
     119529197
    ],
    [
     "2026-07-20",
     115788385
    ],
    [
     "2026-07-27",
     118208622
    ],
    [
     "2026-08-03",
     120828649
    ],
    [
     "2026-08-10",
     125189831
    ],
    [
     "2026-08-17",
     125155069
    ],
    [
     "2026-08-24",
     125060256
    ],
    [
     "2026-08-31",
     132896573
    ],
    [
     "2026-09-07",
     112007239
    ],
    [
     "2026-09-14",
     117796340
    ],
    [
     "2026-09-21",
     148075439
    ],
    [
     "2026-09-28",
     163032225
    ],
    [
     "2026-10-05",
     137297577
    ],
    [
     "2026-10-12",
     114856661
    ],
    [
     "2026-10-19",
     118730009
    ],
    [
     "2026-10-26",
     166043861
    ],
    [
     "2026-11-02",
     175805888
    ],
    [
     "2026-11-09",
     182099083
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     98391
    ],
    [
     "2026-11-08",
     98582
    ],
    [
     "2026-11-09",
     98649
    ],
    [
     "2026-11-10",
     98666
    ],
    [
     "2026-11-11",
     98674
    ],
    [
     "2026-11-12",
     98583
    ],
    [
     "2026-11-13",
     98589
    ],
    [
     "2026-11-14",
     98599
    ],
    [
     "2026-11-15",
     98605
    ],
    [
     "2026-11-16",
     98645
    ],
    [
     "2026-11-17",
     98723
    ],
    [
     "2026-11-18",
     98771
    ],
    [
     "2026-11-19",
     98647
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-19"
 },
 "alternatives": [
  {
   "slug": "tailwind-css-colors",
   "name": "Tailwind CSS Colors",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "radix-colors",
   "name": "Radix Colors",
   "why": "Pick Radix Colors when you want 12-step scales built for accessible contrast, with see-through and dark mode versions of every color.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "opencolor",
   "name": "Open Color",
   "why": "Pick Open Color for a smaller open palette of 13 hues in 10 shades, with downloads for Sass, Less and design apps.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "realtime-colors",
   "name": "Realtime Colors",
   "why": "Pick Realtime Colors when you want to try your own text, background and accent colors on a sample website before choosing.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "uigradients",
   "name": "uiGradients",
   "why": "Community collection of multi-color gradients; all data is in one gradients.json file in the GitHub repo, plus a browsing site.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "colormind",
   "name": "Colormind",
   "why": "AI palette generator trained on photos, movies and art, with a simple JSON HTTP API that returns 5-color palettes.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "API"
  }
 ],
 "faq": [
  {
   "q": "Can I use the Tailwind colors in a paid product or a client site?",
   "a": "Yes. Tailwind CSS is under the MIT license, which allows using, copying and selling copies; keep the license notice if you copy the file itself."
  },
  {
   "q": "How many shades does each color have?",
   "a": "Eleven, numbered 50, 100, 200 and so on up to 900 and 950; 50 is the lightest and 950 the darkest."
  },
  {
   "q": "Can I change a built-in color or add my own?",
   "a": "Yes. Define a color with the same name to replace a default one, or a new name to add one; both go in the @theme block of your style file."
  },
  {
   "q": "Where do I get hex codes?",
   "a": "On the colors page of the docs, shift+click a swatch to copy the nearest hex value; the original values are OKLCH."
  },
  {
   "q": "Can I make a color see-through?",
   "a": "Yes. Add a slash and a number to the class, like bg-black/75 for 75 percent."
  }
 ],
 "at_a_glance": {
  "latest_version": "4.3.5",
  "last_release": "2026-11-06",
  "last_commit": "2026-11-18",
  "runtime": "Safari 16.4+, Chrome 111+, Firefox 128+; in a Vite project also @tailwindcss/vite. The color values themselves are plain CSS in theme.css.",
  "key_needed": false
 },
 "good_to_know": [
  "The colors are written in a modern color format (OKLCH). The docs page copies the nearest hex value on shift+click, so a hex code is close, not exact.",
  "The current Tailwind (version 4) works in Safari 16.4, Chrome 111 and Firefox 128 or newer. For older browsers the docs advise staying on version 3.4.",
  "Tailwind only makes the color classes it finds written out in full in your files. A class glued together from pieces, like bg- plus a color name, gets no color.",
  "The quick in-browser setup is for trying things only, not for a live site.",
  "Color families you do not use can be switched off, which removes them from your final style file."
 ],
 "stack_snippets": [],
 "claims": [
  "Every color has 11 steps, from 50 (lightest) to 950 (darkest)"
 ],
 "checked": {
  "license_read": "2026-11-09",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-19",
  "sources": [
   {
    "label": "tailwindcss.com/docs/colors",
    "url": "https://tailwindcss.com/docs/colors"
   },
   {
    "label": "tailwindcss.com/docs/theme",
    "url": "https://tailwindcss.com/docs/theme"
   },
   {
    "label": "tailwindcss.com/docs/dark-mode",
    "url": "https://tailwindcss.com/docs/dark-mode"
   },
   {
    "label": "tailwindcss.com/docs/compatibility",
    "url": "https://tailwindcss.com/docs/compatibility"
   },
   {
    "label": "tailwindcss.com/docs/upgrade-guide",
    "url": "https://tailwindcss.com/docs/upgrade-guide"
   },
   {
    "label": "tailwindcss.com",
    "url": "https://tailwindcss.com/docs/detecting-classes-in-source-files"
   },
   {
    "label": "tailwindcss.com",
    "url": "https://tailwindcss.com/docs/installation/using-vite"
   },
   {
    "label": "tailwindcss.com/docs/installation/play-cdn",
    "url": "https://tailwindcss.com/docs/installation/play-cdn"
   },
   {
    "label": "tailwindcss.com/brand",
    "url": "https://tailwindcss.com/brand"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/README.md"
   },
   {
    "label": "github.com/tailwindlabs/tailwindcss/blob/main/packages/tailwindcss/theme.css",
    "url": "https://github.com/tailwindlabs/tailwindcss/blob/main/packages/tailwindcss/theme.css"
   },
   {
    "label": "npm: tailwindcss/latest",
    "url": "https://registry.npmjs.org/tailwindcss/latest"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/tailwind-css-colors/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
