Hex to RGB Color Converter
Convert between HEX, RGB, HSL, HSV and CMYK colour codes. Live preview and copy-ready values for CSS, design tools and print.
Last updated: April 2026 ยท Runs in your browser ยท No sign-up
Format quick reference
- HEX โ
#FF6600or shorthand#F60 - RGB โ
rgb(255, 102, 0)โ each 0โ255 - HSL โ
hsl(24, 100%, 50%)โ hue 0โ360ยฐ, S/L % - HSV โ similar to HSL, 'value' instead of 'lightness'
- CMYK โ
cmyk(0%, 60%, 100%, 0%)
Frequently Asked Questions
Why do HEX and RGB look different in some tools?
They're the same colour, expressed differently. #FF6600 and rgb(255, 102, 0) are identical. Browsers, design apps and CSS accept either โ preference is stylistic.
When should I use HSL instead?
HSL (hue, saturation, lightness) is friendlier for building palettes. Shifting a hue or darkening a colour is a single-channel change in HSL; in RGB you'd need to recompute all three.
What is CMYK for?
Print. CMYK (Cyan, Magenta, Yellow, Key/Black) maps to ink percentages. RGB colours can't all be reproduced in CMYK โ the gamut is smaller. Expect slight shifts when sending to print.
Does it support alpha / opacity?
Yes. HEX 8-digit (#RRGGBBAA) and rgba() / hsla() with an alpha value are all supported. Note: HEX alpha support is universal in modern browsers.