Hexadle
Free tool

Hex to RGB converter

Type a hex color code to get its RGB values, or edit the RGB to get the hex. Copy either one in a tap.

#4BB8A9rgb(75, 184, 169)
Hex
RGB
Red
Green
Blue

How the conversion works

A hex code packs three numbers into six characters. Each pair is one color channel, written in base 16:

  • 4B is the red channel, which equals 75.
  • B8 is the green channel, which equals 184.
  • A9 is the blue channel, which equals 169.

Put together, #4BB8A9 is the same color as rgb(75, 184, 169). Each channel runs from 00 (0) to FF (255). For the full background, read what is a hex color code.

When to use each format

Hex is the compact default in CSS, design tools, and brand guidelines. RGB is handy when you need to tweak a single channel or work with opacity through rgba(). Since they are the same color, use whichever fits the job. Need a starting point? Grab one from the random hex color generator.

Questions

How do I convert a hex code to RGB?
Split the six characters into three pairs and read each as a value from 0 to 255. For example, #4BB8A9 is 4B, B8, A9, which is rgb(75, 184, 169). This converter does that for you as you type.
Does it work the other way, from RGB to hex?
Yes. Edit the red, green, and blue fields and the hex code updates instantly, so you can convert in either direction.
Do you support 3-digit hex shorthand?
Yes. A shorthand like #4BA expands to #44BBAA automatically before converting.
Are hex and RGB the same color?
They are two ways of writing the same thing. #4BB8A9 and rgb(75, 184, 169) describe an identical color; the format is just different.

Get to know hex by heart

Hexadle is a daily puzzle that turns hex color into a game. Play often enough and you will read codes like #4BB8A9 at a glance. New here? See how to play.

Download on theApp Store