Mar
26

HEX to RGB

03/26/2022 12:00 AM

What can you do with Hex to RGB Converter ?

  • Convert your Hex value to RGB value

Hex to RGB conversion

  1. Get the 2 left digits of the hex coloration code and convert to decimal cost to get the red colour level.
  2. Get the 2 middle digits of the hex colour code and convert to decimal cost to get the green coloration stage.
  3. Get the two proper digits of the hex shade code and convert to decimal value to get the blue color stage.

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)