Free HEX to RGB Converter Online | Microapp

Convert HEX color codes to RGB, HSL, and HSV values instantly. Supports full 6-digit and shorthand 3-digit hex codes. Free online color converter.

Easily transform hexadecimal color codes into their corresponding RGB (Red, Green, Blue) values with our efficient online converter. Perfect for web developers, graphic designers, and anyone needing quick and accurate color format conversions.

How to convert HEX to RGB

A HEX color code is a 6-digit hexadecimal number prefixed with #. Each pair of digits represents the red, green, and blue channel intensity from 0 (00) to 255 (FF). To convert, split the code into three pairs and parse each as a base-16 integer: #RRGGBB → R=parseInt(RR,16), G=parseInt(GG,16), B=parseInt(BB,16).

Worked example: #1B6B45 → R = parseInt("1B",16) = 27, G = parseInt("6B",16) = 107, B = parseInt("45",16) = 69 → rgb(27, 107, 69).

Color NameHEXRGB
Red#FF0000rgb(255,0,0)
Green#00FF00rgb(0,255,0)
Blue#0000FFrgb(0,0,255)
White#FFFFFFrgb(255,255,255)
Black#000000rgb(0,0,0)

Advertisement

Frequently Asked Questions

Was this tool helpful?

We use cookies

Microapp uses cookies to serve personalised ads via Google AdSense and to analyse site traffic. You can accept all cookies, decline non-essential ones, or review the details below.

Privacy Policy·Cookie Policy