Hex to RGB Converter
Convert HEX color codes to RGB values instantly. See RGB percentage, CSS code snippets, and a live color preview.
#FF5733
HEX Input
RGB Input
Output Formats
rgb(255, 87, 51)
rgb(100.0%, 34.1%, 20.0%)
rgb(255 87 51)
#FF5733
Individual Values
Red
255
100.0%
Green
87
34.1%
Blue
51
20.0%
CSS Code Snippets
color: rgb(255, 87, 51);
background-color: rgb(255, 87, 51);
color: #FF5733;
About Hex to RGB Converter
HEX color codes are six-digit hexadecimal values used widely in web design, CSS, and graphic design to represent colors. RGB (Red, Green, Blue) is an additive color model where each channel ranges from 0 to 255, defining the intensity of that color component. Converting between these two formats is a common task for designers and developers working across different tools and platforms.
Our Hex to RGB Converter instantly translates any HEX color code into its RGB equivalent, providing multiple output formats including standard RGB notation, percentage values, and ready-to-use CSS code snippets. The tool also works in reverse, letting you enter RGB values to find the corresponding HEX code. All processing happens locally in your browser for instant, private results.
How to Use
Enter a Color
Type a HEX code (e.g., FF5733) into the input field, use the color picker, or enter individual R, G, B values.
View Results
The converter instantly shows the RGB values, percentage format, CSS code snippets, and a large color preview swatch.
Copy & Use
Click any copy button to grab the format you need — RGB, CSS property, or HEX — and paste it directly into your project.