Skip to content
BENIBIX Learn

Alpha Channel

Design👁️ Visual CommunicationDigital Images

Also known as Transparency, Alpha Transparency, Opacity Channel, RGBA

The part of an image that says how see-through each pixel is.

Think of it like

It is like tracing paper. Some parts you can see through, and some you cannot.

Example

A logo saved with an alpha channel sits cleanly on a blue website. Without one, it shows a white box around it.

Why it matters

It lets logos and cut-out photos sit on any background, with no box around them.

Definition

An alpha channel stores how see-through each pixel is. Next to red, green and blue, it adds a fourth number. At 0 the pixel is fully see-through, and at the top value it is fully solid. Values in between are half see-through, which makes soft edges and shadows. Design apps show the see-through parts as a grey and white checkerboard.

Example code

css
color: rgb(0 0 0 / 50%);
Black text at 50 percent alpha, so half of the background shows through.
The checkerboard shows through where the alpha is low, and is hidden where it is full.

Common mistake

Saving a cut-out logo as JPEG. JPEG has no alpha channel, so the see-through parts turn white.

Key takeaways

  1. 1
    A fourth number. Red, green, blue and alpha.
  2. 2
    0 to fully solid. From see-through to solid.
  3. 3
    Needs the right file. PNG and WebP keep it, JPEG does not.

Compare

Learn it properly