Skip to content
On this page

Hex to RGB Color Converter

Enter 6 digits hex color code and press the Convert button:

Hex to RGB color tables

Color NameHexRGBPreview
Aluminum9f9586(159, 149, 134) 
Amberffbf00(255, 191, 0) 
Black000000(0, 0, 0) 
Blackberry43182f(67, 24, 47) 
Blood770001(119, 0, 1) 
Blue0000ff(0, 0, 255) 
Bricka03623(160, 54, 35) 
Bronzea87900(168, 121, 0) 
Brown653700(101, 55, 0) 
Chocolated2691e(210, 105, 30) 
Coffee6f4e37(111, 78, 55) 
Concreted2d1cd(210, 209, 205) 
Copperb87333(184, 115, 51) 
Creamffffc2(255, 255, 194) 
Crimson8c000f(140, 0, 15) 
Cyan0ff0fe(15, 240, 254) 
Flamingoe1634f(225, 99, 79) 
Fuchsiaed0dd9(237, 13, 217) 
Goldffd700(255, 215, 0) 
Goldenf5bf03(245, 191, 3) 
Green00ff00(0, 255, 0) 
Grey808080(128, 128, 128) 
Indigo4b0082(75, 0, 130) 
Lattec5a582(197, 165, 130) 
Leaf71aa34(113, 170, 52) 
Magentaff00ff(255, 0, 255) 
Maroon800000(128, 0, 0) 
Navy01153e(1, 21, 62) 
Olive808010(128, 128, 16) 
Orangeffa500(255, 165, 0) 
Peachffb07c(255, 176, 124) 
Peanut7a4434(122, 68, 52) 
Pinkffc0cb(255, 192, 203) 
Porcelaindddcdb(221, 220, 219) 
Purple800080(128, 0, 128) 
Redff0000(255, 0, 0) 
Rock5a4d41(90, 77, 65) 
Roseff007f(255, 0, 127) 
Rubyca0147(202, 1, 71) 
Sande2ca76(226, 202, 118) 
Sapphire0f52ba(15, 82, 186) 
Silverc0c0c0(192, 192, 192) 
Steel797979(121, 121, 121) 
Sunef8e38(239, 142, 56) 
Teal008080(0, 128, 128) 
Turquoise06c2ac(6, 194, 172) 
Whiteffffff(255, 255, 255) 
Wine80013f(128, 1, 63) 
Wood855e42(133, 94, 66) 
Yellowffff00(255, 255, 0) 

Hex to RGB conversion

  1. Get the 2 left digits of the hex color code and convert to decimal value to get the red color level.
  2. Get the 2 middle digits of the hex color code and convert to decimal value to get the green color level.
  3. 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
  • RGB = (255, 0, 0)

Example #2: Convert red hex color code D4AF37 to RGB color

  • Hex = D4AF37
  • So the RGB colors are:
    • R = D416 = 21210
    • G = AF16 = 17510
    • B = 3716 = 5510
  • RGB = (212, 175, 55)

See also

Feedback

Write how to improve this page