← Back to Home

Color Converter

Convert between HEX, RGB, and HSL color formats

HEX

#667eea

RGB

rgb(102, 126, 234)

HSL

hsl(229, 76%, 66%)

RGBA

rgba(102, 126, 234, 1)
Color Preview
Frequently Asked Questions

What are the different color formats?

HEX is a 6-digit code (#RRGGBB) representing red, green, and blue values. RGB uses values from 0-255 for red, green, and blue. HSL represents hue (0-360), saturation (0-100%), and lightness (0-100%).

When should I use each color format?

HEX is common in web design and CSS. RGB is useful when you need transparency (RGBA). HSL is more intuitive for color adjustments since you can easily modify brightness or saturation.

How do I copy a color value?

You can click on the color picker to select a color visually, or enter a HEX value directly. The other formats will update automatically to match your selection.

What is the alpha channel?

The alpha channel (in RGBA) controls transparency, where 0 is fully transparent and 1 is fully opaque. This is useful for creating layered visual effects in web design.