← All free tools Misc tools

HEXA to RGB

Convert your HEXA color format to RGB format.

Accepts any format: #a8d08d, rgb(168 208 141), hsl(96, 42%, 68%), hsv(96, 32%, 82%) or a color name.

About this tool

Type or paste a HEXA color, or choose one with the picker, and the converter shows it as RGB as you type, with a preview and every other format underneath, each with its own copy button. It reads colors written in any of the formats, and color names like “tomato”, too.

How to convert HEXA to RGB

A HEXA code is four pairs of base-16 digits: red, green, blue and alpha. In #a8d08dcc, a8 is 168 red, d0 is 208 green, 8d is 141 blue, and cc is 204, which is 204 ÷ 255 = 0.8 alpha. RGB writes the three channels as they are: rgb(168, 208, 141).

RGB has no alpha, so the opacity is dropped and the color comes out fully solid.

HEXA to RGB examples

ColorHEXARGB
Sage green #a8d08dcc rgb(168, 208, 141)
Red #ff0000cc rgb(255, 0, 0)
Tomato #ff6347cc rgb(255, 99, 71)
Gold #ffd700cc rgb(255, 215, 0)
Dodger blue #1e90ffcc rgb(30, 144, 255)
Indigo #4b0082cc rgb(75, 0, 130)
Black #000000cc rgb(0, 0, 0)
White #ffffffcc rgb(255, 255, 255)

What is HEXA?

HEXA adds a fourth pair of digits to a HEX code for alpha, the opacity: ff is solid, 80 about half see-through and 00 invisible. All current browsers accept eight-digit codes in CSS.

What is RGB?

RGB writes a color as its red, green and blue channels, each from 0 to 255, the way screens make color by mixing light. rgb(0, 0, 0) is black and rgb(255, 255, 255) is white.

Have a project in mind?

Have a brand or a product to grow?