Converting HEX to RGB
HEX is the six-digit hexadecimal notation (like #A855F7) used throughout HTML and CSS to describe screen colors. RGB describes a color as amounts of red, green, and blue light from 0 to 255 — the native model of every screen and camera.
HEX and RGB are two ways of writing the same on-screen color, so converting between them is exact — it simply re-expresses the color in a notation that fits digital screens, programming, and CSS rgb() values.
This HEX to RGB converter works instantly in your browser: type or pick a HEX color and the RGB value updates live, along with every other common format so you can copy whichever you need. Nothing is sent to a server, and it is completely free with no limits.
When do you need RGB?
Reach for RGB when you are working on digital screens, programming, and CSS rgb() values. Designers and developers routinely convert HEX to RGB to move a color between a web workflow and a web one without eyeballing it. If you want to grab a color straight from an image instead of typing it, try our color picker from image, or build a full scheme with the palette generator.
You can also convert in the other direction with our RGB to HEX converter, or jump to any other format — the tool always shows HEX, RGB, HSL, HSV, and CMYK side by side.