Hex to RGB Converter
Convert hex color codes to RGB, HSL, and more. Free, no signup, works in your browser.
Frequently Asked Questions
How do I convert hex to RGB?
Enter your hex color code (like #3B82F6) in the input field. The tool instantly shows the RGB equivalent (rgb(59, 130, 246)), plus HSL and other formats. Click any output to copy it.
What is the difference between hex and RGB color codes?
Hex uses a 6-character code (#RRGGBB) with values 00-FF for each channel. RGB uses decimal values 0-255 for red, green, and blue. Both represent the same colors — hex is shorter, RGB is more intuitive.
What hex code is pure white?
#FFFFFF is pure white (rgb(255, 255, 255)). Pure black is #000000 (rgb(0, 0, 0)). #808080 is a medium gray (rgb(128, 128, 128)).