Color Converter

Convert HEX, RGB, and HSL instantly

Color Input
Converted Values
FAQ
How do I convert HEX to RGB?
Each pair of hex digits represents a color channel. #6C5CE7 means R=108 (6C), G=92 (5C), B=231 (E7). This tool converts automatically as you type.
What is HSL color?
HSL stands for Hue (0-360°), Saturation (0-100%), and Lightness (0-100%). It's often more intuitive for adjusting colors than RGB.
Are these values web-safe?
All formats (HEX, RGB, HSL) work in modern CSS. Use whichever fits your workflow — they produce identical colors.
Advertisement (AdSense)

Understanding Color Code Formats

Colors in web and design are expressed in multiple formats. HEX (#RRGGBB) is the most common web format, RGB uses red/green/blue channel values (0-255), and HSL (hue, saturation, lightness) allows intuitive color adjustments.

This converter translates between all three formats in real time, whether you pick from the color picker or type values directly. All processing happens in your browser.