HEX to RGB Color Converter
Convert hexadecimal color codes to RGB format quickly and easily.
Enter HEX Color
Click on the color picker to select a color visually
Format: Use the format #RRGGBB or #RGB (e.g., #4287f5 or #48f)
Note: The # symbol is optional in the input field.
RGB Result
How It Works
HEX color codes are a way to represent colors in web development and design. They consist of a hash symbol (#) followed by six hexadecimal digits, where each pair of digits represents the intensity of red, green, and blue components (RGB) of the color.
For example, in the HEX color code #4287f5
:
42
represents the red component (66 in decimal)87
represents the green component (135 in decimal)f5
represents the blue component (245 in decimal)
This tool converts these hexadecimal values to their decimal equivalents to create the RGB format that's commonly used in CSS and other applications.