Free online color converter

HEX to RGB Converter

Convert any HEX color code to RGB instantly. You can also convert RGB back to HEX, preview the color, copy values, and see the matching HSL color.

Convert HEX to RGB

Converted Color

#2563EB equals rgb(37, 99, 235).

HEX #2563EB
RGB rgb(37, 99, 235)
HSL hsl(221, 83%, 53%)
Red Channel37
Green Channel99
Blue Channel235
Ad placeholderResponsive display ad area below the tool

How to convert HEX to RGB

A six-digit HEX color contains three pairs of hexadecimal values: one for red, one for green, and one for blue. Each pair ranges from 00 to FF, which corresponds to 0 through 255 in decimal RGB.

1
Enter a HEX codeType a color such as #2563EB or use the color picker.
2
Convert the colorToolWisp converts the hexadecimal channel values into decimal RGB.
3
Copy the resultCopy HEX, RGB, HSL, or all three formats at once.

HEX to RGB example

For #2563EB, the three channel pairs are 25, 63, and EB. Converted from hexadecimal to decimal, they become 37, 99, and 235.

ChannelHEXDecimal
Red2537
Green6399
BlueEB235
Ad placeholderResponsive in-content ad area

Common HEX to RGB color conversions

These examples show common web colors in both HEX and RGB format.

ColorHEXRGB
Black#000000rgb(0, 0, 0)
White#FFFFFFrgb(255, 255, 255)
Red#FF0000rgb(255, 0, 0)
Green#00FF00rgb(0, 255, 0)
Blue#0000FFrgb(0, 0, 255)
ToolWisp Blue#2563EBrgb(37, 99, 235)

Related color and image tools

Try more ToolWisp tools for extracting, creating, and working with colors and images.

HEX to RGB FAQ

How do I convert HEX to RGB?

Enter a HEX value such as #2563EB. ToolWisp converts each hexadecimal color channel into a decimal number from 0 to 255.

What is #FFFFFF in RGB?

#FFFFFF is rgb(255, 255, 255), which represents white.

What is #000000 in RGB?

#000000 is rgb(0, 0, 0), which represents black.

Does this converter support 3-digit HEX codes?

Yes. Short HEX colors such as #FFF, #000, or #F00 are expanded automatically to #FFFFFF, #000000, and #FF0000.

Can I convert RGB to HEX?

Yes. Switch to RGB → HEX mode and enter red, green, and blue values between 0 and 255.

What is the difference between HEX and RGB?

HEX and RGB describe the same red, green, and blue color channels in different number formats. HEX uses hexadecimal notation, while RGB uses decimal channel values from 0 to 255.