← All free tools Misc tools

RGB to RGBA

Convert your RGB color format to RGBA 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 an RGB color, or choose one with the picker, and the converter shows it as RGBA 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 RGB to RGBA

RGBA is RGB with alpha, the opacity, added: keep the RGB values and add an alpha of 1 for a solid color. rgb(168, 208, 141) becomes rgba(168, 208, 141, 1).

RGB to RGBA examples

ColorRGBRGBA
Sage green rgb(168, 208, 141) rgba(168, 208, 141, 1)
Red rgb(255, 0, 0) rgba(255, 0, 0, 1)
Tomato rgb(255, 99, 71) rgba(255, 99, 71, 1)
Gold rgb(255, 215, 0) rgba(255, 215, 0, 1)
Dodger blue rgb(30, 144, 255) rgba(30, 144, 255, 1)
Indigo rgb(75, 0, 130) rgba(75, 0, 130, 1)
Black rgb(0, 0, 0) rgba(0, 0, 0, 1)
White rgb(255, 255, 255) rgba(255, 255, 255, 1)

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.

What is RGBA?

RGBA adds alpha, the opacity, to RGB as a number from 0 (invisible) to 1 (solid). In current CSS, rgb() takes an alpha too, but rgba() still works everywhere and is the more familiar of the two.

Have a project in mind?

Have a brand or a product to grow?