# RGB To Hex

This converter can convert RGB color to Hex color model model very quickly, Hexadecimal color code is the code that sets the color value in the software and web. Hex and RGB are two different color models, and the two have fixed formulas that can convert each other. Enter the values for colors of RGB, then click the Convert button you can get the Hex values and hex value. Hex to RGB

 Type R(red): Type G(green): Type B(blue): Color preview: Hex color code: RGB color code:

## Knowledge of converter

Web colors(Hex) are colors used in displaying web pages, and the methods for describing and specifying those colors. Colors may be specified as an RGB triplet or in hexadecimal format (a hex triplet) or according to their common English names in some cases. A color tool or other graphics software is often used to generate color values. In some uses, hexadecimal color codes are specified with notation using a leading number sign (#).[1][2] A color is specified according to the intensity of its red, green and blue components, each represented by eight bits. Thus, there are 24 bits used to specify a web color within the sRGB gamut, and 16,777,216 colors that may be so specified.

## How to convert RGB color to Hex color

1. Divide rgb color values into red (rr), green (gg), blue (bb) three parts
2. Convert the three parts to hexadecimal
3. Merge the three parts

## Example

Convert red color (255,34,66) to hex color code:

1. R = 25510 = FF16
2. G = 3410 = 2216
3. G = 6610 = 4216

so RGB(255,34,66) = #FF2242 hex

## RGB color model to Hex color model conversion table

ColorColor nameHexRGB
LightPink#FFB6C1255,182,193
Pink#FFC0CB255,192,203
Crimson#DC143C220,20,60
LavenderBlush#FFF0F5255,240,245
PaleVioletRed#DB7093219,112,147
HotPink#FF69B4255,105,180
DeepPink#FF1493255,20,147
MediumVioletRed#C71585199,21,133
Orchid#DA70D6218,112,214
Thistle#D8BFD8216,191,216
plum#DDA0DD221,160,221
Violet#EE82EE238,130,238
Magenta#FF00FF255,0,255
Fuchsia#FF00FF255,0,255
DarkMagenta#8B008B139,0,139
Purple#800080128,0,128
MediumOrchid#BA55D3186,85,211
DarkVoilet#9400D3148,0,211
DarkOrchid#9932CC153,50,204
Indigo#4B008275,0,130
BlueViolet#8A2BE2138,43,226
MediumPurple#9370DB147,112,219
MediumSlateBlue#7B68EE123,104,238
SlateBlue#6A5ACD106,90,205
DarkSlateBlue#483D8B72,61,139
Lavender#E6E6FA230,230,250
GhostWhite#F8F8FF248,248,255
Blue#0000FF0,0,255
MediumBlue#0000CD0,0,205
MidnightBlue#19197025,25,112
DarkBlue#00008B0,0,139
Navy#0000800,0,128
RoyalBlue#4169E165,105,225
CornflowerBlue#6495ED100,149,237
LightSteelBlue#B0C4DE176,196,222
LightSlateGray#778899119,136,153
SlateGray#708090112,128,144
DoderBlue#1E90FF30,144,255
AliceBlue#F0F8FF240,248,255
SteelBlue#4682B470,130,180
LightSkyBlue#87CEFA135,206,250
SkyBlue#87CEEB135,206,235
DeepSkyBlue#00BFFF0,191,255
PowDerBlue#B0E0E6176,224,230
Azure#F0FFFF240,255,255
LightCyan#E1FFFF225,255,255
PaleTurquoise#AFEEEE175,238,238
Cyan#00FFFF0,255,255
Aqua#00FFFF0,255,255
DarkTurquoise#00CED10,206,209
DarkSlateGray#2F4F4F47,79,79
DarkCyan#008B8B0,139,139
Teal#0080800,128,128
MediumTurquoise#48D1CC72,209,204
LightSeaGreen#20B2AA32,178,170
Turquoise#40E0D064,224,208
Auqamarin#7FFFAA127,255,170
MediumAquamarine#00FA9A0,250,154
MediumSpringGreen#00FF7F0,255,127
MintCream#F5FFFA245,255,250
SpringGreen#3CB37160,179,113
SeaGreen#2E8B5746,139,87
Honeydew#F0FFF0240,255,240
LightGreen#90EE90144,238,144
PaleGreen#98FB98152,251,152
DarkSeaGreen#8FBC8F143,188,143
LimeGreen#32CD3250,205,50
Lime#00FF000,255,0
ForestGreen#228B2234,139,34
Green#0080000,128,0
DarkGreen#0064000,100,0
Chartreuse#7FFF00127,255,0
LawnGreen#7CFC00124,252,0
OliveDrab#556B2F85,107,47
Beige#F5F5DC245,245,220
Ivory#FFFFF0255,255,240
LightYellow#FFFFE0255,255,224
Yellow#FFFF00255,255,0
Olive#808000128,128,0
DarkKhaki#BDB76B189,183,107
LemonChiffon#FFFACD255,250,205
PaleGodenrod#EEE8AA238,232,170
Khaki#F0E68C240,230,140
Gold#FFD700255,215,0
Cornislk#FFF8DC255,248,220
GoldEnrod#DAA520218,165,32
FloralWhite#FFFAF0255,250,240
OldLace#FDF5E6253,245,230
Wheat#F5DEB3245,222,179
Moccasin#FFE4B5255,228,181
Orange#FFA500255,165,0
PapayaWhip#FFEFD5255,239,213
BlanchedAlmond#FFEBCD255,235,205
AntiqueWhite#FAEBD7250,235,215
Tan#D2B48C210,180,140
BrulyWood#DEB887222,184,135
Bisque#FFE4C4255,228,196
DarkOrange#FF8C00255,140,0
Linen#FAF0E6250,240,230
Peru#CD853F205,133,63
PeachPuff#FFDAB9255,218,185
SandyBrown#F4A460244,164,96
Chocolate#D2691E210,105,30
SeaShell#FFF5EE255,245,238
Sienna#A0522D160,82,45
LightSalmon#FFA07A255,160,122
Coral#FF7F50255,127,80
OrangeRed#FF4500255,69,0
DarkSalmon#E9967A233,150,122
Tomato#FF6347255,99,71
MistyRose#FFE4E1255,228,225
Salmon#FA8072250,128,114
Snow#FFFAFA255,250,250
LightCoral#F08080240,128,128
RosyBrown#BC8F8F188,143,143
IndianRed#CD5C5C205,92,92
Red#FF0000255,0,0
Brown#A52A2A165,42,42
FireBrick#B22222178,34,34
DarkRed#8B0000139,0,0
Maroon#800000128,0,0
White#FFFFFF255,255,255
WhiteSmoke#F5F5F5245,245,245
Gainsboro#DCDCDC220,220,220
LightGrey#D3D3D3211,211,211
Silver#C0C0C0192,192,192
DarkGray#A9A9A9169,169,169
Gray#808080128,128,128
DimGray#696969105,105,105
Black#0000000,0,0