HEX to RGB

Convert CSS Hexadecimal color codes (#RRGGBB) to RGB values

Published: •Last Updated:

HEX to RGB Color Converter

The BioAligator HEX to RGB Converter parses 3-digit shorthand (#F0A) and 6-digit hexadecimal color codes (#4F46E5) into decimal Red, Green, and Blue channel intensities (0 to 255).

Conversion Formula

A 6-digit HEX code splits into three base-16 pairs: #RRGGBB. Each pair is converted to base-10: #4F46E5 → Red: 4F16 = 79, Green: 4616 = 70, Blue: E516 = 229 → rgb(79, 70, 229).

Related Tools

RGB to HEX Converter | All-in-One Color Converter


Avatar

Anurag Singh

CEO / Co-Founder

Enjoy the little things in life. For one day, you may look back and realize they were the big things. Many of life's failures are people who did not realize how close they were to success when they gave up.