HEX to RGB converter

Hex is compact notation for the same three numbers RGB spells out. #FF6B35 is just rgb(255, 107, 53) in base 16: two digits per channel.

How this works

  1. 1 Paste or type your HEX value; the tool reads it as you type.
  2. 2 The RGB value updates live, along with every other format.
  3. 3 Click any code to copy it, or use bulk mode for a whole list.
HEX
#e08b3d
RGB
rgb(224, 139, 61)
RGBA
rgba(224, 139, 61, 1)
HSL
hsl(29, 72%, 56%)
HSV
hsv(29, 73%, 88%)
CMYK
cmyk(0%, 38%, 73%, 12%)
LAB
lab(66.0 28.7 54.1)
OKLCH
oklch(71.2% 0.138 59.8)

Guide

When you need RGB instead of HEX

You need RGB when a tool wants separate channel values: canvas code, image processing, older design software, or anywhere alpha gets added as rgba().

FAQ

FAQs

How do I convert hex to RGB by hand?

Split the hex into pairs and convert each from base 16: #FF6B35 becomes FF=255, 6B=107, 35=53, so rgb(255, 107, 53). The converter above does this for any value, including 3-digit shorthand like #F63.

What about hex codes with 8 digits?

The extra pair is alpha (opacity). #FF6B35CC is the same color at CC=204/255, about 80% opacity, written rgba(255, 107, 53, 0.8).

Related: RGB to HEX · HEX to HSL · HSL to HEX · RGB to HSL · every format at once

Popular colors

Jump to

Type a color name, a hex code, or a tool. Esc closes.

Open this color's page