Hex to RGB Color Converter

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

RGB to hex converter ►

Hex to RGB color table

Color Color

name

Hex (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 #00FFFF (0,255,255)
  Magenta #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)

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

Or

RGB = (255, 0, 0)

Example #2

Convert gold hex color code FFD700 to RGB color:

Hex = FFD700

So the RGB colors are:

R = FF16 = 25510

G = D716 = 21510

B = 0016 = 010

Or

RGB = (255, 215, 0)

 

RGB to hex conversion ►

 


See also

Features of Hex to RGB Color Converter Tool

  1. Convert hexadecimal color codes to RGB: The tool should be able to convert hexadecimal color codes, such as #FF0000, to their corresponding RGB values, which would be (255, 0, 0).

  2. Convert RGB to hexadecimal: The tool should also be able to convert RGB values, such as (255, 0, 0), to their corresponding hexadecimal color codes, which would be #FF0000.

  3. Support multiple color formats: The tool should support various color formats, including 3-digit and 6-digit hexadecimal codes, as well as RGB values in various formats (e.g., with or without parentheses, with or without commas).

  4. Display a color preview: The tool should display a preview of the color being converted, so that users can see the resulting color before making a conversion.

  5. Allow users to input colors manually: The tool should allow users to manually input color codes or values in the desired format, rather than requiring them to use a color picker or other external tool.

  6. Support copy and paste: The tool should allow users to copy and paste color codes or values from other sources, such as an image editor or a website, for conversion.

  7. Provide clear and concise results: The tool should display the resulting color code or value in a clear and concise manner, making it easy for users to understand and use the conversion results.

  8. Be user-friendly: The tool should be easy to use, with a simple and intuitive interface that makes it straightforward for users to perform conversions

Advertising

COLOR CONVERSION
°• CmtoInchesConvert.com •°