Color Converter — HEX, RGB, HSL, CMYK
Convert colors between HEX, RGB, HSL and CMYK with harmonious palettes. A free tool for designers and web developers with live preview.
Read the complete guide: Color Code Converter — Complete Guide →
How to use it
- Enter a colour in one of the supported formats (HEX, RGB, HSL, CMYK) or pick it with the selector.
- The other formats update in real time, with a preview of the colour.
- Explore the generated harmonic palette to find complementary, analogous or triadic combinations.
- Copy the format you need for your CSS, graphics software or print job.
Practical examples
- #FF0000 is the same colour as rgb(255, 0, 0) and hsl(0, 100%, 50%): pure red.
- The violet #6D5BD0 corresponds to rgb(109, 91, 208).
- For a website you can start from a brand colour and generate supporting colours from the harmonic palette.
Tips and common mistakes
- RGB to CMYK conversion is an approximation: screens and printers have different gamuts, so for professional printing always compare a colour proof.
- HSL is convenient for making variants: changing only the lightness gives a lighter or darker version of the same hue.
- Check the contrast between text and background: a good ratio improves readability and accessibility.
When you need it
It is useful for web developers, designers, graphic artists and anyone managing a brand: to move from a website colour code to the format a graphics program or a print shop requires, and to choose harmonious colour combinations.
Units & Reference Values
| Unit | Equivalent | Common use |
|---|---|---|
| HEX (#RRGGBB) | 16.7 million colors | CSS, web design |
| RGB (0-255, 0-255, 0-255) | 3 channels, 0-255 each | Screen color, programming |
| HSL (hue, sat%, light%) | Hue 0-360°, Sat & Light 0-100% | CSS, intuitive design |
| HSV/HSB | Hue 0-360°, Sat & Value 0-100% | Photoshop, image editing |
| CMYK (%, %, %, %) | 4 channels 0-100% | Print design |
Frequently Asked Questions
How do you convert HEX to RGB?
Split the 6-digit HEX into pairs: #FF6B35 → FF=255, 6B=107, 35=53. Convert each pair from hexadecimal: FF₁₆=255₁₀. Result: RGB(255, 107, 53).
Why do screens use RGB but printers use CMYK?
Screens emit light (additive color) — combining maximum R+G+B produces white. Printers absorb light with ink (subtractive) — combining C+M+Y theoretically produces black, but in practice K (black) is added for deeper blacks and cost efficiency.
What is HSL and why is it useful?
HSL (Hue, Saturation, Lightness) represents color in terms humans naturally understand: the actual color (hue, 0–360°), how vivid it is (saturation), and how dark or light it is (lightness). It is easier to create color variations in HSL than in RGB.
Read the complete guide: Color Code Converter — Complete Guide →
Last updated:
Related tools
Digital Data Numbers & Bases Calculator Dev Tools QR Code Text Tools
Home · All Guides · About Us · What's new · Contact · Privacy Policy
Language: Italiano · English · Español · Français · Deutsch · Português · 中文 · 日本語