HEX (#rrggbb), RGB (0-255), and HSL (hue 0-360, saturation and lightness 0-100%).
Your everyday toolkit
Developer ToolsColor Converter
Convert opaque colors between HEX, RGB and HSL formats. Visual color picker with real-time preview.
Open tool Free · No account needed
All Formats
HEX
#3B82F6RGB
rgb(59, 130, 246)HSL
hsl(217, 91%, 60%)Using Color Converter well
Convert an opaque six-digit HEX color into RGB and HSL representations for a design or CSS workflow.
Example to try
Enter #FF0000 to obtain rgb(255, 0, 0) and hsl(0, 100%, 50%). Copy the notation accepted by your destination editor.
What to check before relying on the result
This workspace does not accept HSB or alpha-channel input. Rounded HSL values can cause small round-trip differences. A color conversion does not measure accessible contrast.
How to use Color Converter
SEE IT IN ACTION01 / 03
View largerReal workspace previewA preview of the actual tool workspace
01
YOU’RE EXPLORING
Pick a color
THE ROADMAPA few steps.
03STEPSA few steps.
A whole new result.
GOOD QUESTIONS. CLEAR ANSWERS.
Frequently Asked Questions
The useful details, before you get started.
YOUR QUESTIONS, ANSWEREDClick to explore
THE ANSWER
THE ANSWER
Yes, click the color swatch to open a native color picker.
Choose any question to see the details.
