RGB Gamma Controls

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration is based on the Gamma Correction Demonstration by Michael Schreiber. This version adds brightness and contrast controls for the grayscale ramp. Many monitors and televisions have these controls, and this Demonstration shows how they impact a gray scale.


Setting the brightness (or black level) control too high shows clipping in the dark areas (grays are shown as pure black). Setting the brightness control too low makes the blacks appear as gray.

Setting the contrast (white level) control too high causes the bright areas to be clipped to pure white. Setting the contrast too low makes the whites appear gray.

Setting the per-color channel controls shows how individual colors can be clipped, thus tinting either end of the ramp.


Contributed by: Eric L. Hernes (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.