Color Code Converter
Convert between HEX, RGB, HSL, HSV, and CMYK.
HEX
Copied!
RGB
Copied!
HSL
Copied!
HSV
Copied!
CMYK
Copied!
Ctrl+Enter to convert from HEX field
Common Colors Reference
| Color | HEX | RGB |
|---|---|---|
| Red | #FF0000 | 255, 0, 0 |
| Green | #00FF00 | 0, 255, 0 |
| Blue | #0000FF | 0, 0, 255 |
| Yellow | #FFFF00 | 255, 255, 0 |
| Magenta | #FF00FF | 255, 0, 255 |
| Cyan | #00FFFF | 0, 255, 255 |
| EZFree Blue | #2563EB | 37, 99, 235 |
Frequently Asked Questions
How do I convert a HEX color to RGB? +
Split the 6-digit hex code into three pairs (RR, GG, BB) and convert each pair from base 16 to base 10. For example, #FF6B35 becomes R=255, G=107, B=53.
What is the difference between HSL and HSV? +
Both use Hue (0-360 degrees) but differ in how they represent brightness. HSL uses Lightness (0% = black, 100% = white, 50% = pure color). HSV uses Value (0% = black, 100% = brightest). HSL is more common in CSS, while HSV is used in many design tools.
Why does CMYK produce different colors than RGB? +
RGB is additive (light-based, used on screens) while CMYK is subtractive (ink-based, used in printing). Some bright RGB colors cannot be reproduced in CMYK, which is why screen colors sometimes look different when printed.
Can I use 3-digit HEX codes? +
Yes. A 3-digit hex code is shorthand where each digit is doubled. For example, #F60 is the same as #FF6600. This converter accepts both 3-digit and 6-digit formats.