tailwindcss-hexcolor weekly downloads statistics
By SnehMoradia (2 listings) · npm · Tailwind plugins
Tailwind CSS v4 plugin that automatically generates utilities for custom hex color classes like bg-fff, text-000, border-ff0000, gradients and more.
tailwindcss-hexcolor has 12 recorded weekly downloads on npm, an increase of 9.1% over the past 30 days, ranking #3109 of 3,247 tracked listings.
About tailwindcss-hexcolor
🎨 tailwindcss-hexcolor
Write arbitrary color utilities in Tailwind CSS without square bracket syntax ([]).
Supports HEX, RGB, RGBA, HSL, HSLA, and CSS color-mix() for Tailwind CSS v3 & v4.
✨ Clean Syntax • 🚀 Zero Configuration • ⚡ Smart Caching • 🎨 Multiple Color Formats
</div>✨ Features
- 🚀 No
[]syntax - 🎨 Supports HEX, RGB(A), HSL(A),
color-mix() - ⚡ Zero configuration
- 🔄 Automatic scanning & rebuilds
- 💾 Smart caching
- ✅ Tailwind CSS v3 & v4 compatible
📦 Installation
npm install tailwindcss-hexcolor
🚀 Setup
Tailwind CSS v4
@import "tailwindcss";
@plugin "tailwindcss-hexcolor";
Tailwind CSS v3
module.exports = {
plugins: [
require("tailwindcss-hexcolor")(),
],
};
🎨 Examples
HEX
<div class="bg-6366f1 text-ffffff border-e5e7eb"></div>
background-color: #6366f1;
color: #ffffff;
border-color: #e5e7eb;
RGB
<div class="bg-rgb-59-130-246"></div>
background-color: rgb(59,130,246);
RGBA
<div class="bg-rgba-59-130-246-0.5"></div>
background-color: rgba(59,130,246,0.5);
HSL
<div class="text-hsl-220-100-50"></div>
color: hsl(220,100%,50%);
HSLA
<div class="border-hsla-220-100-50-0.5"></div>
border-color: hsla(220,100%,50%,0.5);
CSS color-mix()
<div class="bg-mix-in-srgb--red-40--blue"></div>
background-color: color-mix(in srgb, red 40%, blue);
🛠 Supported Utilities
| Utility | CSS Property |
|---|---|
bg-* | Background Color |
text-* | Text Color |
border-* | Border Color |
outline-* | Outline Color |
ring-* | Ring Color |
shadow-* | Shadow Color |
fill-* | SVG Fill |
stroke-* | SVG Stroke |
accent-* | Accent Color |
caret-* | Caret Color |
decoration-* | Text Decoration Color |
placeholder-* | Placeholder Color |
divide-* | Divide Color |
from-* | Gradient Start |
via-* | Gradient Middle |
to-* | Gradient End |
🤝 Contributing
Contributions and feature requests are welcome!
- Fork the repository
- Create a new branch
- Make your changes
- Submit a Pull Request
📄 License
MIT License.
<div align="center">
Made with ❤️ by Sneh Moradia
⭐ If this project helped you, consider giving it a star!
<a href="https://github.com/SnehMoradia/tailwindcss-hexcolor"> <img src="https://img.shields.io/github/stars/SnehMoradia/tailwindcss-hexcolor?style=for-the-badge&logo=github" alt="GitHub Stars"> </a> </div>Description from the npm listing.
- tailwindcss
- tailwind
- tailwindcss-plugin
- plugin
- hex
- hex-color
- dynamic-colors
- gradient
- tailwind-v4
- css
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
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. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Tailwind plugins plugins
All 20 tailwindcss-hexcolor alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/tailwindcss-hexcolor. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.