HEX to RGB Color Converter
Convert HEX to RGB
Formula
R = parseInt(hex[0..1], 16) | G = parseInt(hex[2..3], 16) | B = parseInt(hex[4..5], 16) | Each channel: 0-255 (00-FF)
Frequently Asked Questions
How do I convert HEX to RGB?
Split the 6-digit hex code into 3 pairs (RR, GG, BB) and convert each pair from hexadecimal to decimal. For #FF7474: FF=255, 74=116, 74=116, so RGB is (255, 116, 116).
What is a HEX color code?
A HEX color code is a 6-digit hexadecimal representation of a color used in web design. It starts with # followed by pairs representing Red, Green, and Blue values (00-FF each). For example, #FF0000 is pure red.
You may also need
R
RGB to HEX Color Converter
Free RGB to HEX color converter. Convert RGB color values to hexadecimal color codes for web design and CSS.
ConversionR
Pixels to Em Converter
Free px to em converter for CSS. Convert pixels to em and rem units based on base font size. Essential for responsive web design.
Conversion