Homeโ€บ Generators & Utilitiesโ€บ Hex to RGB Converter

Hex to RGB Converter

Convert between Hex color codes (#74A57F), RGB values, and HSL. Includes named-color preview, transparency support, and complementary color suggestions.

Inputs

Hex code
โ€”
RGB
โ€”
HSL
โ€”
Complementary color
โ€”
Perceived brightness
โ€”

About Hex to RGB Converter

Hex format

#RRGGBB where each pair is a hex byte (00-FF) for red, green, blue. Short form #RGB expands to #RRGGBB (e.g., #F0A โ†’ #FF00AA).

HSL vs RGB

RGB describes color as additive light. HSL describes it as Hue (the color itself, 0-360ยฐ), Saturation (gray to vivid), and Lightness (black to white). HSL is more intuitive for designers picking variants.

Complementary color

The color directly opposite on the color wheel. Calculated by inverting each RGB channel (255 โˆ’ value). High-contrast and useful for accents, but pure complements can feel jarring; designers often soften them slightly.