Look at your screen right now. Whatever device you are reading this on - phone, laptop, tablet, monitor - is performing an extraordinary feat of engineering that we rarely pause to appreciate. Millions of tiny light sources are working in perfect coordination, each one capable of producing any color in the rainbow, all updating dozens of times per second to create the illusion of stable, continuous imagery.
But what actually is a pixel? The word comes from 'picture element,' and while that etymology is accurate, it barely scratches the surface of what these microscopic marvels actually do. A pixel is not simply a dot of color - it is a sophisticated light-emitting system with its own internal structure, physics, and engineering trade-offs.
The subpixel revelation
Here is the first surprise about pixels: they are not actually the smallest unit of your display. Each pixel is composed of three even smaller elements called subpixels, one red, one green, and one blue. This RGB arrangement is not arbitrary - it exploits a fundamental quirk of human vision. Our eyes contain three types of color-sensitive cells called cones, each tuned to respond most strongly to either red, green, or blue light. By mixing just these three colors in different proportions, a display can trick your eye into perceiving virtually any color.
RGB Stripe Pattern (magnified)
Hover over subpixels to identify them. Each vertical stripe is one subpixel.
Adjust Subpixel Brightness
Perceived Color
The arrangement of these subpixels matters more than you might think. The most common pattern is the RGB stripe, where red, green, and blue subpixels are arranged in vertical columns. But other patterns exist: Samsung's PenTile displays use a diamond arrangement with shared subpixels, trading some sharpness for improved power efficiency. Apple's Retina displays pack subpixels so densely that the pattern becomes invisible to the naked eye at normal viewing distances.
Subpixel rendering takes this concept even further. Because subpixels are spatially offset from each other, clever software can use individual subpixels to render text at effectively three times the horizontal resolution. Microsoft's ClearType technology analyzes text and adjusts the brightness of individual red, green, and blue subpixels to create smoother-looking characters. This is why text can look noticeably sharper on one display compared to another, even at identical pixel densities - the subpixel rendering algorithm matters as much as the raw resolution.
How LCD pixels actually work
The most common display technology is the Liquid Crystal Display, or LCD. Despite the name, there is nothing liquid about an LCD in the way you might imagine - no flowing fluids sloshing around inside your monitor. Instead, the 'liquid crystal' refers to a state of matter that shares properties of both liquids and solid crystals. These remarkable molecules can flow like a liquid, but their rod-like shape means they tend to align with each other, creating organized structures like crystals.
An LCD pixel works through a clever manipulation of polarized light. At the back of the display sits a backlight - typically LEDs arranged along the edges or directly behind the panel. This light passes through a polarizing filter that only allows light waves oscillating in one direction to pass through. The polarized light then enters the liquid crystal layer.
Cross-Section of LCD Subpixel
Light Output
How it works:
Low voltage: Liquid crystals maintain twisted helical structure, rotating polarized light 90°. Light passes through second polarizer → pixel is BRIGHT.
Cross-section of an LCD subpixel showing the backlight, polarizers, liquid crystal layer, and color filter.
Here is where the magic happens. In their natural state, the liquid crystal molecules are arranged in a twisted helical structure that rotates the polarization of light by 90 degrees as it passes through. This allows the light to pass through a second polarizing filter oriented perpendicular to the first. But when an electric voltage is applied to the pixel, the liquid crystal molecules straighten out and stop rotating the light. The unrotated light cannot pass through the second polarizer, and the pixel appears dark.
Controlling millions of pixels requires an equally sophisticated electrical system. Each subpixel has its own Thin Film Transistor (TFT) - a tiny switch fabricated directly onto the glass substrate. The TFT acts like a valve, controlling exactly how much voltage reaches each pixel's liquid crystal layer. When the transistor turns on, charge flows into a small capacitor that holds the voltage steady until the next refresh. Without this transistor-capacitor combination, pixels would flicker as the display scans through rows, and images would appear washed out or blurry.
The three flavors of LCD
Not all LCDs are created equal. The original LCD technology, called Twisted Nematic (TN), offered fast response times but suffered from poor viewing angles - colors would shift dramatically when viewed from the side. In-Plane Switching (IPS) technology solved this by rotating the liquid crystals in a different plane, maintaining consistent colors at wide viewing angles. Vertical Alignment (VA) panels offer a middle ground, with better contrast ratios than IPS but not quite as good viewing angles.
Each technology has its trade-offs. Gaming monitors often use TN panels for their fast 1ms response times, while professional photo editors prefer IPS for color accuracy. Home theater enthusiasts might choose VA for its deeper blacks. Understanding these differences helps explain why monitors with seemingly similar specifications can produce very different images.
Recent advances have added another layer of sophistication: quantum dots. These nanoscale semiconductor crystals emit specific wavelengths of light when stimulated. By placing a layer of quantum dots in front of a blue LED backlight, displays can produce more saturated and accurate colors than traditional white LEDs with color filters. Samsung's QLED technology and similar implementations have pushed LCD color gamuts to rival or exceed those of OLED displays, closing one of OLED's traditional advantages.
OLED: A different approach entirely
Organic Light Emitting Diode (OLED) displays take a fundamentally different approach. Instead of filtering light from a backlight, each OLED subpixel generates its own light directly. When electric current flows through specially designed organic compounds, they emit photons - they literally glow. This eliminates the need for a backlight, polarizers, and liquid crystal layer entirely.
PenTile RGBG Subpixel Pattern
Hover over subpixels to see individual elements
Traditional RGB Stripe
Equal R, G, B subpixels in every column. Simple and sharp.
PenTile RGBG
2x more green subpixels, alternating pattern.
Why PenTile?
- • Human eyes are most sensitive to green light (peak at ~555nm)
- • Fewer subpixels needed = lower manufacturing cost and better power efficiency
- • Can produce visible diamond pattern or reduced sharpness compared to RGB stripe
- • Common in Samsung AMOLED displays and many smartphone screens
The advantages of OLED are significant. Because each pixel can be completely turned off, OLED displays achieve true black - not the dark gray of an LCD with its always-on backlight. This gives OLED displays theoretically infinite contrast ratios. OLED pixels can also switch on and off in microseconds, eliminating the motion blur that plagues LCD displays. And without the thick layer stack of an LCD, OLED displays can be made incredibly thin and even flexible.
But OLED technology has its own challenges. The organic compounds degrade over time, especially when displaying bright static content - a phenomenon called burn-in, where ghost images of frequently displayed elements become permanently visible. Different color subpixels degrade at different rates, with blue being particularly problematic. Manufacturers have developed mitigation strategies including pixel shifting, luminance limits, and improved materials, but burn-in remains a concern for displays showing static content like desktop computer interfaces or news channel logos.
The refresh cycle
A static image would be easy - just set each pixel to the right color and leave it. But displays need to show moving content: video, animations, scrolling text. This requires updating every pixel on the screen multiple times per second. The standard refresh rate for decades was 60 Hz, meaning the entire screen was redrawn 60 times per second. Modern displays push this to 90 Hz, 120 Hz, 144 Hz, or even 360 Hz for competitive gaming.
Higher refresh rates create smoother motion and reduce the perception of blur during fast movement. But there is a cost: each doubling of refresh rate roughly doubles the computational work required to render frames and the bandwidth needed to transmit them. This is why high-refresh-rate displays are most common in gaming, where the smoothness advantage is most noticeable and worth the performance trade-off.
Variable refresh rate (VRR) technologies like NVIDIA G-Sync and AMD FreeSync have transformed how displays handle the mismatch between frame generation and display refresh. Traditional fixed-rate displays would either tear images (showing parts of two frames at once) or stutter (repeating frames to wait for the next one). VRR displays dynamically adjust their refresh rate to match exactly when the graphics processor finishes each frame, eliminating both tearing and judder while reducing power consumption when content does not demand high frame rates.
Gamma and the nonlinearity of light
Here is something that surprises most people: if you tell a pixel to display 50% brightness, it does not actually emit half as much light. The relationship between the signal value and the light output is nonlinear, following a curve called gamma. A 50% signal might produce only 22% of the maximum light output.
This nonlinear relationship is actually beneficial. Human vision is more sensitive to differences in dark tones than bright ones - a phenomenon called the Weber-Fechner law. By allocating more of the 256 possible values to darker shades, gamma encoding matches our perceptual capabilities, letting us see smooth gradients without banding.
// Linear to sRGB gamma encoding
function linearToSRGB(linear: number): number {
if (linear <= 0.0031308) {
return 12.92 * linear
}
return 1.055 * Math.pow(linear, 1 / 2.4) - 0.055
}
// sRGB to linear decoding
function sRGBToLinear(srgb: number): number {
if (srgb <= 0.04045) {
return srgb / 12.92
}
return Math.pow((srgb + 0.055) / 1.055, 2.4)
}High Dynamic Range (HDR) displays take this concept further with new transfer functions. The Perceptual Quantizer (PQ) curve, developed by Dolby and standardized as SMPTE ST 2084, can encode luminance levels up to 10,000 nits - roughly the limit of human vision - using just 12 bits per channel. Unlike traditional gamma curves designed for dim CRT displays, PQ was engineered from psychophysical models of human vision to maximize perceptual quality across the entire range of visible brightness.
Pixel density and the quest for sharpness
How many pixels are enough? The answer depends on how far away you view the display. At typical viewing distances, the human eye can resolve details as small as about 1 arcminute (1/60th of a degree). Apple coined the term 'Retina display' for screens dense enough that individual pixels cannot be distinguished at normal viewing distances - roughly 300 pixels per inch for a smartphone held at arm's length.
Modern flagship phones now exceed 500 PPI, arguably beyond what most people can perceive. But higher resolution is not just about sharpness - it also enables better anti-aliasing for text and graphics, smoother curves, and more detailed imagery. The debate over 'how much is enough' continues, with diminishing returns competing against the very real costs of pushing more pixels.
High pixel density creates a new challenge: interface scaling. A button designed at 44 pixels tall for a 72 PPI display would be physically tiny on a 400 PPI screen - too small to tap comfortably. Operating systems solve this through display scaling, rendering interfaces at higher resolutions while maintaining consistent physical sizes. A '2x' Retina display renders everything with twice as many pixels in each dimension, maintaining the same apparent size while adding detail. This is why modern interface design works in 'points' or 'device-independent pixels' rather than raw pixel counts.
The future of pixels
Display technology continues to evolve. MicroLED promises the contrast advantages of OLED without the organic compounds that degrade over time. Quantum dot technology enhances LCD and OLED displays with more saturated, accurate colors. Transparent and flexible displays are moving from labs to products. And entirely new approaches - from laser-based projectors to holographic displays - hint at futures where the very concept of a 'pixel' might become obsolete.
But for now, billions of pixels continue their invisible dance, each one a tiny marvel of physics and engineering, working together to create the windows through which we view our digital world.