RGB to Hex - Best RGB to Hex converter Tool (100% Free)

Search Engine Optimization

RGB to Hex


Enter red, green and blue color levels (0-255) and press the Convert button:

Red color (R):
Green color (G):
Blue color (B):
Color preview:
 
Hex color code:
RGB color code:
HSL color code:

About RGB to Hex

What does this RGB to Hex converter do? It takes input in the form of values for Red, Green, and Blue ranging from 0 to 255 and then converts those values to a hexadecimal string that can be used to specify color in HTML/CSS code.

HTML, Hex and RGB Color Table

Color HTML / CSS Name Hex Code #RRGGBB Decimal Code (R,G,B)
  Black #000000 (0,0,0)
  White #FFFFFF (255,255,255)
  Red #FF0000 (255,0,0)
  Lime #00FF00 (0,255,0)
  Blue #0000FF (0,0,255)
  Yellow #FFFF00 (255,255,0)
  Cyan / Aqua #00FFFF (0,255,255)
  Magenta / Fuchsia #FF00FF (255,0,255)
  Silver #C0C0C0 (192,192,192)
  Gray #808080 (128,128,128)
  Maroon #800000 (128,0,0)
  Olive #808000 (128,128,0)
  Green #008000 (0,128,0)
  Purple #800080 (128,0,128)
  Teal #008080 (0,128,128)
  Navy #000080 (0,0,128)

 

How to Use RGB to HEX / HEX to RGB Converter?

It is very easy to use this tool. If you want to convert HEX to RGB, copy the HEX color and enter it in the first field and copy the RGB color from the second field. And if you want to convert RGB to HEX color then copy RGB color in this format RGB(255, 255, 255) and insert it into the second field and copy the HEX color from the first field.

What does this RGB to Hex converter do?

It takes input in the foRGB to Hex Converterrm of values for Red, Green, and Blue ranging from 0 to 255 and then converts those values to a hexadecimal string that can be used to specify color in HTML/CSS code. Photo editing software usually represents color in RGB and therefore if you would like to use the colors you use in your photo editing software as the background of your HTML element then you will have to get the hexadecimal representation of the RGB values. This tool allows you to get those values.