RGB to HEX
Hex to RGB conversion
What does this converter from RGB to hex do?
It accepts input in the form of Red, Green, and Blue values in the range of 0 and 255. Then, it turns these values into a hexadecimal string that may be used in HTML/CSS code to specify colours. You will need the hexadecimal representation of the RGB values if you want to apply the colours that you have selected to use in your photo-editing software to create the background for your HTML element. Photo editing software commonly displays colour using RGB. You can discover these values with this tool.
RGB to Hex color table
Color | Color
name |
(R,G,B) | Hex |
---|---|---|---|
Black | (0,0,0) | #000000 | |
White | (255,255,255) | #FFFFFF | |
Red | (255,0,0) | #FF0000 | |
Lime | (0,255,0) | #00FF00 | |
Blue | (0,0,255) | #0000FF | |
Yellow | (255,255,0) | #FFFF00 | |
Cyan | (0,255,255) | #00FFFF | |
Magenta | (255,0,255) | #FF00FF | |
Silver | (192,192,192) | #C0C0C0 | |
Gray | (128,128,128) | #808080 | |
Maroon | (128,0,0) | #800000 | |
Olive | (128,128,0) | #808000 | |
Green | (0,128,0) | #008000 | |
Purple | (128,0,128) | #800080 | |
Teal | (0,128,128) | #008080 | |
Navy | (0,0,128) | #000080 |
RGB
The RGB color paradigm, which uses red, blue, green, and white light mixed in various ways to create a wide variety of colors, can be characterized as an additive one.
The three major colors of additives—green, red, and blue—directly inspired its name. Discover more on Wikipedia
HEX
A Hex triplet is a 6-digit, 3-byte hexadecimal number that is used to represent colors in HTML, CSS, SVG, and numerous other computing applications.
The green, red, and blue components of the color are represented by these bytes.
A single byte is the representation of a number between 0 and 255 in decimal notation, or between 00 and FF (00 through FF) in hexadecimal notation. Discover more on Wikipedia .