HEX to RGB
Convert HEX to RGB - This tool is a free online color converter between two color formats HEX and RGB. The tool is fast and very simple to use.
Convert HEX to RGB - This tool is a free online color converter between two color formats HEX and RGB. The tool is fast and very simple to use.
HEX
A hex triplet is a six-digit, three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications to represent colors. The bytes represent the red, green and blue components of the color. One byte represents a number in the range 00 to FF (in hexadecimal notation), or 0 to 255 in decimal notation.Read More on Wikipedia
RGB
The RGB color model is an additive color model in which red, green and blue light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.Read More on Wikipedia
Hex to RGB conversion
- Get the 2 left digits of the hex color code and convert to decimal value to get the red color level.
- Get the 2 middle digits of the hex color code and convert to decimal value to get the green color level.
- Get the 2 right digits of the hex color code and convert to decimal value to get the blue color level.
Example #1
Convert red hex color code FF0000 to RGB color:
Hex = FF0000
So the RGB colors are:
R = FF16 = 25510
G = 0016 = 010
B = 0016 = 010
Or
RGB = (255, 0, 0)
Example #2
Convert gold hex color code FFD700 to RGB color:
Hex = FFD700
So the RGB colors are:
R = FF16 = 25510
G = D716 = 21510
B = 0016 = 010
Or
RGB = (255, 215, 0)