Hex to RGB Converter

Convert any Hex color code to RGB, HSL, HSV, CMYK and CSS-ready values. Instant conversion with live preview & copy.

🎨 Convert HEX to Color Codes

πŸ“ Understanding Hex to RGB Conversion

Hexadecimal color codes represent colors using a 6‑digit combination of numbers and letters (0–9, A–F). The first two digits represent Red, the next two Green, and the last two Blue. Each pair is converted from base‑16 to a decimal value between 0 and 255 to obtain the RGB equivalent.

Example: #3B82F6 β†’ Red: 3B = 59, Green: 82 = 130, Blue: F6 = 246 β†’ rgb(59, 130, 246)
Additionally we compute HSL (Hue, Saturation, Lightness), HSV, and CMYK for print & design workflows.

Click any result card to copy the value to clipboard. Perfect for front-end developers, designers, or anyone working with color formats.

Β© 2025 HTML Color Codes – Professional Hex to RGB / HSL / HSV / CMYK Converter

Copied to clipboard