Color Converter
Convert colors between HEX, RGB, HSL formats and find the nearest Tailwind CSS class instantly.
indigo-500
Nearest Tailwind color class
Convert Colors Between HEX, RGB, HSL and Tailwind Instantly
Jumping between color formats is a constant friction point when building UIs. Zolkit's Color Converter handles HEX, RGB, and HSL in both directions and even finds the closest Tailwind CSS color class — so you can go from a design tool hex code to a utility class in one step.
Three Formats at Once
Edit any format — HEX, RGB, or HSL — and all others update instantly. Change one number and every representation stays in sync.
Tailwind Color Matching
Automatically finds the nearest Tailwind v3 color class from the full 22-family palette using RGB Euclidean distance.
Live Color Swatch
A large color picker gives you an immediate visual preview of the selected color as you adjust values.
Copy Any Format
One-click copy for each format card — copy the HEX string, the rgb() function, the hsl() function, or the Tailwind class name.
100% Private
All color math runs locally in your browser. No data is sent to any server.
Free Forever
No account, no limits, no paywalls. Color conversion is always free.
How to Convert Colors
- 1
Click the color picker or type a value into any format field (HEX, RGB, or HSL).
- 2
All other format fields update automatically. The Tailwind card shows the nearest matching utility class.
- 3
Click the Copy button on any card to copy that format to your clipboard.