Color Converter — HEX to RGB, HSL & CMYK Free Online
Convert between HEX, RGB, HSL, and CMYK color formats with a live visual preview. Perfect for web designers and developers.
Color Format Guide
- HEX: 6-digit hexadecimal, e.g. #6366f1 — Used in HTML/CSS. Very common in web development.
- RGB: Red, Green, Blue values (0–255), e.g. rgb(99, 102, 241) — Used in CSS, image editing software, and screens.
- HSL: Hue (°), Saturation (%), Lightness (%) — Great for programmatically adjusting color shades.
- CMYK: Cyan, Magenta, Yellow, Key (Black) — Used in print design and professional publishing.
Frequently Asked Questions
Enter your HEX code in the input field (e.g. #6366f1) and the RGB, HSL and CMYK values update instantly. Click any value to copy it to your clipboard.
RGB uses Red, Green, Blue channel values (0–255). HSL uses Hue (degree angle), Saturation (%), and Lightness (%). HSL is more intuitive for generating color variations programmatically.
Use RGB for screens (websites, apps, digital design). Use CMYK for print materials — printers use Cyan, Magenta, Yellow, and Black inks.
Standard 6-digit HEX codes do not include transparency. Use an 8-digit HEX (like #6366f1cc) for alpha, or use rgba() in CSS instead.