Tailwind Shades installs statistics
By Omar Bourhaouta · VS Code Marketplace · Other
Generate Tailwind CSS color palettes (50–950) from any color, for Tailwind v4, v3, v2 and v1
Tailwind Shades has 328,917 recorded installs on VS Code Marketplace.
It ranks #1087 of 2,500 tracked VS Code Marketplace listings by installs.
It is rated 5.0 out of 5 from 7 ratings.
PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.
Rating: 5.00 / 5 from 7 ratings
About Tailwind Shades
Tailwind CSS Shades
Generate a full Tailwind CSS color palette (50 to 950) from any color, right in your editor. Works with Tailwind v4, v3, v2 and v1.
VS Code Marketplace · Open VSX (Cursor, Windsurf, VSCodium)
Also as a command line tool and an MCP server for AI agents, with the same palettes. Try it in the browser: tailwindshades.bourhaouta.com.
Usage
1. Select a color, or just put the cursor on it: #db4d53, rgb(…), hsl(…), oklch(…) or a CSS color name. 2. Press Cmd+K Cmd+G (macOS) or Ctrl+K Ctrl+G, or run Tailwind Shades: Generate color palette from the Command Palette. 3. Pick a name. The closest Tailwind color is suggested; type your own (like brand) to keep Tailwind's color too.
With no color under the cursor, the extension asks you for one.
Tailwind v4 (CSS file)
Already inside an @theme { … } block? Only the variables are added.
Tailwind v3 (tailwind.config.js)
How the shades are made
The palette follows Tailwind's own colors instead of simply mixing with white and black:
• It finds the Tailwind color closest to yours, and copies how that color's lightness, saturation and hue change from light to dark. • Your color stays exactly as it is, at the shade where it fits best. A light color can become 200, not always 500. • The math happens in OKLCH, the color space Tailwind v4 uses, so the steps look even to the eye.
Tailwind versions
The version is detected from your project, most reliable source first:
1. The closest package.json with a tailwindcss dependency 2. The current CSS file: @import "tailwindcss", @theme, @utility, @plugin → v4; @tailwind base; → v3 3. A tailwind.config.js (or .ts, .cjs, .mjs) in the project → v3 4. Other CSS files in the project, with the same hints as step 2
If nothing is found, v4 is used. The status bar tells you which version was used and why, e.g. v3 from tailwind.config.js.
| Version | Shades | In CSS files | In JS/TS files | Colors |
| v4 | 50–950 | @theme block | config object | OKLCH | | v3 | 50–950 | CSS variables | config object | hex | | v2 | 50–900 | CSS variables | config object | hex | | v1 | 100–900 | CSS variables | config object | hex |
Each version uses its own default palette as the reference, so a v1 palette looks like v1 colors.
Commands
| Command | What it does |
| Generate color palette | Picks the version and output for you (see above). Shortcut: Ctrl/Cmd+K Ctrl/Cmd+G | | Generate color palette (choose version and output)… | Asks which Tailwind version and output to use | | Generate color palette as CSS variables | Always writes --brand-500: …; variables |
Settings
| Setting | Default | Options |
| tailwindshades.tailwindVersion | auto | auto, 4, 3, 2, 1 | | tailwindshades.colorFormat | auto (OKLCH for v4, hex before) | auto, oklch, hex, rgb | | tailwindshades.output | auto (from the file type) | auto, theme, config, cssVariables | | tailwindshades.promptForName | true | Ask for the color name | | tailwindshades.readablePairs | false | Add a comment with text and background pairs that pass WCAG AA contrast |
With readablePairs on, the palette starts with a comment like this, tested on the real shades:
Command line
The same palettes, without an editor:
| Option | Values | Default |
| -n, --name | letters, digits and dashes | the closest Tailwind color | | -t, --tailwind | 4, 3, 2, 1 | 4 | | -f, --format | oklch, hex, rgb | oklch for v4, hex before | | -o, --output | theme, config, css, live, shopify | theme for v4, config before |
The palette goes to stdout, so you can add it to a file: npx tailwindshades-cli db4d53 -o css >> colors.css. More in the package README.
Colors picked at runtime: -o live writes CSS where every shade follows one variable, set by a user, a tenant or a CMS (relative colors: Chrome 119+, Safari 18+, Firefox 128+, with the static palette as the fallback). -o shopify adds the theme editor setting for Shopify themes. See Colors picked at runtime.
Use it with AI agents
AI coding agents often guess Tailwind shades, or add one --color-brand line instead of a palette. The tailwindshades-mcp server gives them five tools:
• generate_palette: the same palette code as the extension, for the project's Tailwind version • find_closest_tailwind_color: the Tailwind class closest to a color (e.g. #db4d53 → red-500), and whether the difference is visible • get_tailwind_palette: Tailwind's own default colors, exactly as Tailwind defines them (e.g. slate-500), so agents don't write them from memory • list_tailwind_colors: the names of Tailwind's default colors for a version • convert_color: any color to oklch() (what Tailwind v4 uses), hex and rgb
And an add_brand_color prompt, which Claude Code shows as a slash command.
Then ask things like *"Add a brand color #db4d53 to my theme"*.
Remote, nothing to install: connect to https://tailwindshades.bourhaouta.com/mcp.
Claude Code
Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project)
VS Code (.vscode/mcp.json)
Local: run npx -y tailwindshades-mcp as a stdio server instead, for example claude mcp add --scope user tailwindshades -- npx -y tailwindshades-mcp. Setup for each agent is in the package README.
It's also in the MCP Registry as io.github.bourhaouta/tailwindshades, with both options.
Development
An npm workspace: the extension is at the root, the palette engine and CLI in packages/core, the MCP server in packages/mcp, and the website with the remote MCP endpoint (/mcp) in apps/web (npm run dev -w apps/web).
Press F5 in VS Code to try the extension in a new window. After upgrading a tailwindcss dev dependency, run npm run palette to refresh the reference palettes. After an engine change, node media/demo/record.mjs re-records the demo GIF (see the file for setup).
License
MIT © Omar Bourhaouta
Description from the VS Code Marketplace listing.
- color
- css
- keybindings
- oklch
- palette
- shades
- tailwind
- tailwind v4
- tailwindcss
- theme
Where Tailwind Shades sits in the listing
Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (3)Similar VS Code Marketplace Other plugins
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=bourhaouta.tailwindshades. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.