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

ColorHEXRGB
Red#FF0000255, 0, 0
Green#00FF000, 255, 0
Blue#0000FF0, 0, 255
Yellow#FFFF00255, 255, 0
Magenta#FF00FF255, 0, 255
Cyan#00FFFF0, 255, 255
EZFree Blue#2563EB37, 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.