Free Color Converter - HEX, RGB, HSL

Convert between HEX, RGB, and HSL colors. Free, fast, and private—all processing happens in your browser.

Click to pick a color

HEX

#10B981

RGB

rgb(16, 185, 129)

HSL

hsl(160, 84%, 39%)
Ad Space (336x280)

Colors on the web can be expressed in multiple formats. Our converter helps you switch between HEX, RGB, and HSL instantly—essential for designers and developers working across different tools.

Color Format Explained

**HEX**: #RRGGBB format, most common in CSS. Each pair is a hex value (00-FF).

**RGB**: rgb(R, G, B) format. Each value ranges from 0-255.

**HSL**: hsl(H, S%, L%) format. Hue (0-360°), Saturation (0-100%), Lightness (0-100%).

When to Use Each Format

- **HEX**: Compact notation for CSS, design tools - **RGB**: Programmatic color manipulation, animations - **HSL**: Human-friendly adjustments (make lighter, more saturated)

Frequently Asked Questions

What is HEX color?

HEX colors use hexadecimal notation (#RRGGBB) where each pair represents red, green, and blue values from 00 to FF. Common in web development.

What is the difference between RGB and HSL?

RGB (Red, Green, Blue) defines colors by mixing light. HSL (Hue, Saturation, Lightness) is more intuitive for humans, making it easier to adjust colors.

Related Tools