RGB to Hex

optimisation du moteur de recherche

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:

Sur RGB to Hex

RGB to Hex Converter

RGB and HEX are both ways of describing color (there are others, such as CMYK). RGB stands for red, green, and blue. This is used when describing computer monitors, where red, green, and blue light are used to make up the colors that you see. HEX (short for hexadecimal) is used when describing colors in HTML/CSS. HEX is a way of describing a color using a combination of numbers and letters. Hex is generally the Hexadecimal from of RGB color.

Why You Need to Convert RGB to HEX?

Most of the photo editing app like Photoshop, Corel, photopea etc. are used RGB colors. If you are developing a Website and want to use the same color from the photo editing app you only have to copy the color code from the color palette and convert into HEX color to use it in your website. 

How to Convet RGB to HEX?

  • Enter values ​​between 0 and 255 in the boxes provided for red, green and blue.
  • It will automatically display your color in the color preview box.
  • Now Press the convert button.

It will now give you the HEX, RGB, and HSL colour code, that you can use in your website.

RGB to HEX Color Table:

Color Color


(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