CSS Opacity : Transparency using RGBA

Transparency using RGBA

div {
  background: rgba(76, 175, 80, 0.3) /* Green background with 30% opacity */
}

You can use RGB as a color value. In addition to RGB, you can use an RGB color value with an alpha channel (RGBA) - which specifies the opacity for a color.

Related concepts

Transparency using RGBA

CSS Opacity : Transparency using RGBA — Structure map

Clickable & Draggable!

CSS Opacity : Transparency using RGBA — Related pages: