🎨

Color Converter

Convert between HEX, RGB, HSL, and other color formats.

Color Input

Color Preview

Brightness
Light
Contrast (White)
4.5:1 (AA)
Contrast (Black)
4.5:1 (AA)

Copy Format

Color Variations

Shades

Tints

Complementary

Analogous

Color Formats Explained

HEX

Hexadecimal color codes start with # followed by 6 characters (0-9, A-F) representing RGB values.

#FF0000 (Red)

RGB / RGBA

RGB defines colors using Red, Green, and Blue values (0-255). RGBA adds an Alpha channel for transparency (0-1).

rgb(255, 0, 0)
rgba(255, 0, 0, 0.5)

HSL / HSLA

HSL defines colors using Hue (0-360°), Saturation (0-100%), and Lightness (0-100%). HSLA adds Alpha transparency.

hsl(0, 100%, 50%)
hsla(0, 100%, 50%, 0.5)