Hex to RGB Converter
Convert hexadecimal codes to RGB, HSL, HSV, CMYK and HTML/CSS values instantly.
Color Conversion
01
How a Hex color converts to RGB
A Hex code has six characters, grouped into three pairs: one for red, one for green and one for blue. Each pair is a base-16 number (hexadecimal, with digits 0–9 and letters A–F) that converts to a base-10 number (decimal, from 0 to 255) to get the RGB value.
For example, the color E65817 breaks down like this:
rgb(230, 88, 23)The result is rgb(230, 88, 23). The higher each channel’s value, the more of that color is in the final mix.
02
From Hex to harmonious palettes
Once you have the RGB value, you can build complementary or analogous schemes with the color wheel and fine-tune the shade in the color picker.
FAQ
Each pair of characters in the Hex code represents a channel (red, green and blue) in base 16. Convert each pair to base 10 and you get a number from 0 to 255 for that channel. Together they form the RGB value.
Because it needs two characters for each of the three color channels (red, green and blue), and each base-16 pair can represent 256 distinct values — the same range RGB uses.
The hexadecimal system uses digits 0–9 and letters A–F to represent values from 10 to 15. That is why a Hex code can mix numbers and letters, such as E65817.
Yes. Use the RGB to Hex converter for the reverse process: enter the three RGB values and get the matching hexadecimal code.