Color Converter
Convert colors between HEX, RGB, and HSL formats with live preview
Input
Result
#FF6600
HEX
#FF6600
RGB
rgb(255, 102, 0)
HSL
hsl(24, 100%, 50%)
FAQ
What is the difference between HEX, RGB, and HSL?
HEX is hexadecimal RGB representation (#FF6600). RGB defines colors by Red, Green, Blue values (0-255). HSL uses Hue (0-360°), Saturation (0-100%), and Lightness (0-100%).
How do I convert HEX to RGB?
Split the HEX value into R, G, B pairs and convert each from hex to decimal. For example, #FF6600 → R=255, G=102, B=0.
What is HSL color used for?
HSL is more intuitive for humans. Hue defines the color type, Saturation controls intensity, and Lightness controls brightness. Designers often prefer HSL for creating color schemes.