Hardware Diagnostics

Display gamma curve and dark level calibration: Inspecting 2.2 gamma tracking in your browser

Testing display gamma curves reveals whether a monitor is crushing dark shadow details or clipping highlights. Here, we evaluate luminance gradations and 2.2 gamma calibration curves with native Web APIs.

📖 Read the Complete Tutorial: Monitor Gamma Calibration & LUT Guide →
Color Banding & Gamma

How to Use the Color Banding & Gamma (3 Simple Steps)

1

Choose Diagnostic Pattern

Select from 256-Step Grayscale Ramp, Gamma 2.2 Scanlines, RGB Primary Ramps, or Near-Black Shadow Detail.

2

Step Back for Gamma Inspection

View the Gamma 2.2 scanline pattern from 3 to 5 feet away; the central calibration patch should blend seamlessly into the striped background.

3

Check Shadow Detail & Banding

Inspect near-black steps 1 through 5 to ensure shadow details are not crushed into pure black.

Key Features & Diagnostic Standards

✓

256-Step Discrete Grayscale Ramp

Renders 256 individual luminance steps to identify uneven DAC steps, posterization, and 6-bit FRC dithering artifacts.

✓

Optical Gamma 2.2 Calibration Chart

Utilizes 1px alternating black/white scanlines to evaluate whether the monitor power law curve matches the 2.2 sRGB standard.

✓

Black Crush & Shadow Detail (IRE 0-20)

Specialized low-luminance patches to calibrate monitor brightness and black level without washing out contrast.

✓

Highlight Detail Clipping (IRE 235-255)

Tests near-peak white luminance to verify contrast controls are not clipping subtle cloud or snow textures.

Mastering Display Gamma & Color Gradation Calibration

Monitors do not emit light linearly. If a pixel receives a 50% digital signal (RGB 128, 128, 128), a linear display would emit 50% of peak luminance. However, human vision perceives 50% brightness at approximately 21.8% physical light output.

To compensate for human optical biology, standards organizations established the Gamma 2.2 power function: Luminance = (Input / 255) ^ 2.2. Calibrating gamma ensures skin tones, shadow details, and midtone contrast render as content creators intended.

Gamma Correction Formula in JavaScript JavaScript
// Convert 8-bit sRGB value to linear luminance (Gamma 2.2 approximation)
function sRgbToLinear(val8Bit, gamma = 2.2) {
  return Math.pow(val8Bit / 255, gamma);
}

Diagnostic Best Practices & Production Tips

Set display scaling to 100%: For 1px scanline patterns to render accurately without optical moiré, set browser zoom to 100% (Ctrl+0).
Adjust monitor Black Level first: Use the Shadow Detail (IRE 0-20) pattern to adjust monitor Black Level / Brightness until step 1 is barely visible.

Frequently Asked Questions

What is display gamma and why is 2.2 the standard?

Gamma describes the non-linear relationship between pixel numerical values and physical light output. Gamma 2.2 closely mirrors human eye sensitivity (which perceives changes in shadows more acutely than highlights) and is the universal standard for sRGB and Rec.709.

What causes color banding on gradients?

Color banding occurs when there are insufficient discrete color steps (e.g. 6-bit panels, heavy image compression, or mismatched color spaces), producing visible stair-step edges instead of smooth gradations.

What is black crush?

Black crush happens when a monitor brightness or gamma is set too dark, collapsing subtle dark shades (steps 1 through 5) into pure black (#000000) so shadow details in movies and games become invisible.

How does the gamma scanline chart work?

Alternating 1px black (0) and white (255) scanlines average out optically to 50% physical light output. On a calibrated 2.2 gamma display, a solid patch with luminance 186 reflects that exact 50% perceived mid-gray, making the patch blend into the background.

What is monitor gamma and why is Gamma 2.2 the universal standard?

Gamma curves model human eye sensitivity to non-linear light perception. Gamma 2.2 is the universal standard for Windows, sRGB, and web content, ensuring balanced shadows and highlights without clipping.

How do I calibrate my monitor gamma using gray blending bars?

Step back from your monitor and squint at the alternating black-and-white stripe bars. At the correct Gamma 2.2 setting, the central striped swatch blends smoothly into the solid gray background with zero visible boundaries.

Why do colors look washed out or too dark on my gaming monitor?

Many gaming monitors ship with aggressive "Black Equalizer" or dynamic contrast modes enabled by default. Setting your monitor OSD to standard sRGB mode and calibrating gamma to 2.2 restores natural shadow detail.