Pixel

The smallest addressable element of a digital image. Each pixel holds color data, and their aggregate forms the picture.

A pixel (short for "picture element") is the fundamental building block of digital images. On a display, each pixel corresponds to a physical display element. In image data, it represents a logical point holding a single color value. An image's resolution (pixel dimensions) is expressed as its width and height in pixels.

The amount of color information each pixel stores is determined by color depth (bit depth). 24-bit color allocates 8 bits each for red, green, and blue channels, yielding 16,777,216 possible colors. 32-bit adds an alpha channel for transparency.

In web development, layouts are designed in CSS pixels, with srcset and image-set() delivering appropriately sized images to high-density displays.

Related Terms

Related Articles