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 331,243 recorded installs on VS Code Marketplace, an increase of 0.4% over the past 30 days, ranking #1090 of 2,515 tracked listings.
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.
<img src="https://github.com/bourhaouta/vscode-tailwindshades/raw/HEAD/media/demo.gif" alt="Put the cursor on #db4d53, press Ctrl+K Ctrl+G, name it brand, and a Tailwind v4 @theme palette from brand-50 to brand-950 is written in OKLCH" width="750">Usage
- Select a color, or just put the cursor on it:
#db4d53,rgb(…),hsl(…),oklch(…)or a CSS color name. - Press <kbd>Cmd</kbd>+<kbd>K</kbd> <kbd>Cmd</kbd>+<kbd>G</kbd> (macOS) or <kbd>Ctrl</kbd>+<kbd>K</kbd> <kbd>Ctrl</kbd>+<kbd>G</kbd>, or run Tailwind Shades: Generate color palette from the Command Palette.
- 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)
@theme {
--color-brand-50: oklch(97.1% 0.01 13.669);
--color-brand-100: oklch(93.2% 0.024 14.006);
--color-brand-200: oklch(87.7% 0.046 14.623);
--color-brand-300: oklch(79.5% 0.085 15.86);
--color-brand-400: oklch(68.7% 0.143 18.505);
--color-brand-500: oklch(61.6% 0.177 21.62);
--color-brand-600: oklch(56% 0.183 23.614);
--color-brand-700: oklch(49.2% 0.159 23.807);
--color-brand-800: oklch(43.6% 0.133 23.188);
--color-brand-900: oklch(39.2% 0.106 22.012);
--color-brand-950: oklch(25.8% 0.069 22.331);
}
Already inside an @theme { … } block? Only the variables are added.
Tailwind v3 (tailwind.config.js)
brand: {
50: '#fdf2f3',
100: '#fae2e3',
200: '#f6c9cc',
300: '#efa5a9',
400: '#e7757a',
500: '#db4d53',
600: '#ca373c',
700: '#aa2c30',
800: '#8d272b',
900: '#772528',
950: '#411012',
},
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 always500. - 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:
- The closest
package.jsonwith atailwindcssdependency - The current CSS file:
@import "tailwindcss",@theme,@utility,@plugin→ v4;@tailwind base;→ v3 - A
tailwind.config.js(or.ts,.cjs,.mjs) in the project → v3 - 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: <kbd>Ctrl/Cmd</kbd>+<kbd>K</kbd> <kbd>Ctrl/Cmd</kbd>+<kbd>G</kbd> |
| 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:…
Description from the VS Code Marketplace listing.
- color
- css
- keybindings
- oklch
- palette
- shades
- tailwind
- tailwind v4
- tailwindcss
- theme
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
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.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 Tailwind Shades alternativesData 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 Dec 6, 2026. See the methodology.