# What is a LUT? Color lookup tables for video explained

> What is a LUT in video? Learn how 1D and 3D .cube color lookup tables work, why camera Log footage needs one, and how to apply LUTs during video playback.

Published 2026-10-31 · Formats & codecs · https://www.hazenstudio.com/maclc/blog/what-is-a-lut/

## In short

- A LUT (Look-Up Table) is a mathematical index that converts input RGB color values into designated output color values.
- 1D LUTs adjust individual color channels independently, while 3D LUTs map complex cross-channel hue and saturation shifts.
- The .cube file format is the universal open industry standard for distributing 3D color lookup tables.
- Log footage captured by cameras appears flat and washed out until a technical conversion LUT maps it to standard display color spaces.
- MacLC decodes 10-bit and HDR video formats with hardware acceleration, adapting tone mapping directly to your Mac display.

A LUT (Look-Up Table) is a mathematical matrix that converts input color values in a video frame into specific target output color values. When applied to video footage, a LUT remaps raw red, green, and blue digital code values to change contrast, color saturation, and hue instantly without requiring manual color adjustments.

For shooting Apple Log on an iPhone, editing footage from a cinema camera, or previewing a film look, LUTs are foundational in digital video. Understanding the difference between 1D and 3D LUTs, why camera Log profiles require technical normalization, and how players apply them reveals how raw camera recordings become finished pictures.

## How does a Look-Up Table work?

In digital computing, calculating complex mathematical color transformations for every pixel in a 4K frame (over 8.29 million pixels) at 60 frames per second requires substantial processing power.

A Look-Up Table solves this problem through pre-calculated indexing:

1. **The Index Table:** Instead of recalculating complex color physics on every single pixel in real time, the computer creates an index table of known input and output values.
2. **Value Matching:** When the video renderer encounters an incoming pixel with specific coordinates (such as Red 120, Green 80, Blue 45), it queries the table.
3. **Instant Remapping:** The table returns the exact corresponding replacement coordinates (such as Red 142, Green 75, Blue 38).
4. **Interpolation:** For color values that fall between points on the grid, the graphics engine uses trilinear or tetrahedral interpolation to calculate a smooth mathematical transition.

By substituting expensive mathematical computations with fast memory lookups, graphics processing units (GPUs) can process multi-gigabyte video streams with minimal latency.

## What is the difference between 1D and 3D LUTs?

Look-Up Tables come in two primary dimensional architectures that offer very different capabilities:

### 1. 1D LUTs (One-Dimensional)
A 1D LUT processes each color channel in complete isolation. It contains three separate one-dimensional lookup tables: one for Red, one for Green, and one for Blue:

* **What it can do:** It can adjust overall image brightness, black levels, white points, and gamma contrast curves.
* **What it cannot do:** It cannot perform cross-channel color remapping. For example, a 1D LUT cannot desaturate blue skies while keeping red lips vibrant, because changes to blue values have no knowledge of red or green values.

### 2. 3D LUTs (Three-Dimensional)
A 3D LUT maps colors within a three-dimensional coordinate cube where the X, Y, and Z axes represent Red, Green, and Blue.

Because every output point is calculated based on the simultaneous relationship of all three color channels, a 3D LUT can make sophisticated color adjustments according to the [Adobe Cube LUT specification](https://www.adobe.com/content/dam/acom/en/products/creativesuite/flash/pdfs/cube-lut-specification-1.0.pdf):

* It can shift individual hues (such as shifting cyan ocean water toward deep navy).
* It can alter color saturation selectively across highlights, midtones, and shadows.
* It can emulate specific physical film stocks, such as vintage cinema emulsions.

Standard 3D LUTs use grid sizes such as 17 × 17 × 17 (4,913 sample points), 33 × 33 × 33 (35,937 points), or 65 × 65 × 65 (274,625 points). A 33 × 33 × 33 grid provides a practical balance between precision and memory bandwidth for video playback.

## What is inside a .cube file?

The `.cube` file extension is the universal standard for distributing 3D LUTs across modern operating systems and video applications.

A `.cube` file is a plain-text ASCII document that opens in any text editor. It begins with header metadata declaring the table type and grid dimension:

- `TITLE`: An optional label identifying the color transform profile.
- `LUT_3D_SIZE`: The grid resolution along each axis, such as 33 for a 33 × 33 × 33 cube.
- `DOMAIN_MIN` and `DOMAIN_MAX`: The input color bounds, typically normalized between 0.0 and 1.0.
- Table data: Sequential rows of floating-point RGB triplets representing output colors for each coordinate.

The header defines the working boundary of the color space, followed by the mapped RGB values that the renderer uses to transform the image.

## Technical vs Creative LUTs: What is the difference?

In video workflows, LUTs serve two distinct functions:

### 1. Technical conversion LUTs (Normalization)
Technical LUTs are mathematically precise transforms designed to translate a camera's raw recording curve into an industry-standard display format:

* **Log to Rec. 709:** Converts flat camera profiles (such as Apple Log, Sony S-Log3, or Canon C-Log) into standard HDTV color ([Rec. 709](/maclc/blog/color-gamut-explained/)) with standard 2.4 gamma.
* **Color Space Transforms:** Converts wide-gamut digital cinema masters (Rec. 2020) into display-native spaces like DCI-P3 or sRGB without clipping vibrant colors.

### 2. Creative LUTs (Stylistic Looks)
Creative LUTs are artistic color grading presets created by cinematographers and colorists:

* **Film Stock Emulation:** Recreates the distinctive contrast curve and chemical dye response of vintage motion picture film.
* **Genre Aesthetics:** Adds classic cinema styling, such as the famous "teal and orange" look that pushes shadows toward cool teal and skin tones toward warm amber.

## Why does camera Log footage require a LUT?

When recording high-end video on cameras or modern smartphones, cinematographers use logarithmic recording modes like Apple Log on iPhone or Sony S-Log3.

Camera sensors capture light linearly, meaning bright highlights generate far more digital data than dark shadows. If stored directly in standard video gamma:

1. **Highlight Clipping:** Bright skies and sunlight reflections blow out into solid white blocks.
2. **Shadow Crushing:** Dark background details disappear into solid black.
3. **Dynamic Range Loss:** A standard Rec. 709 container only holds about 6 to 8 stops of dynamic range, while modern sensors capture 12 to 15 stops.

Log encoding applies a logarithmic mathematical curve that compresses extreme highlight and shadow data into the middle of the digital container. When viewed directly without a LUT, the footage looks washed out, grey, and milky. Applying a technical normalization LUT restores contrast, deepens blacks, and saturates colors back to natural levels.

A sensor captures a wide dynamic range, the camera encodes it into a flat logarithmic curve, and a normalization LUT maps that curve back to a balanced display standard.

## LUTs vs true color grading: What is the difference?

A common misunderstanding among beginners is treating a LUT as a complete substitute for color grading.

A LUT is a static transformation. If a video clip was accidentally underexposed by two stops or captured with an incorrect white balance, applying a creative LUT amplifies the color errors.

In professional post-production software:

* **Color Correction:** An editor first corrects exposure, balances black and white levels, and neutralizes tint across every shot.
* **Technical Normalization:** A technical LUT or Color Space Transform (CST) maps the balanced Log footage into a working display color space.
* **Creative Grading:** The colorist applies secondary adjustments—isolating skin tones, shaping light with vignettes, and matching tone curves across scenes.

A LUT is merely one tool in a colorist's pipeline, not the entire grading process.

MacLC plays 10-bit video, ProRes and every HDR format with hardware decoding. Its own Metal renderer can also apply a .cube LUT you set in Settings › HDR & Colour, next to its picture styles: Accurate, Balanced (ITU-R BT.2390) and Bright.

## How to use LUTs effectively for playback

If you collect camera footage or raw video files:

1. **Match the Specific Camera Profile:** Always use the technical LUT designed specifically for your camera model and recording format. Applying a Sony S-Log3 LUT to Apple Log footage results in incorrect contrast and unnatural skin tones.
2. **Watch for Banding:** Applying an aggressive 3D LUT to heavily compressed 8-bit video can cause severe color posterization and banding in skies. Read our guide on [8-bit vs 10-bit color](/maclc/blog/8-bit-vs-10-bit-color/) to understand why 10-bit recording is essential for LUT workflows.
3. **Verify Color Gamuts:** Ensure your LUT matches your target display color space, whether standard Rec. 709 or wide P3.

Look-Up Tables are an effective bridge that turns flat sensor recordings into balanced, cinematic video. To learn more about modern high-bitrate recording formats, explore our technical breakdown of [what is Apple ProRes](/maclc/blog/what-is-apple-prores/) and [color gamut explained](/maclc/blog/color-gamut-explained/).

## Questions people ask

### What does LUT stand for in video editing?

LUT stands for Look-Up Table. In video production and playback, it is a predetermined mathematical data table that remaps raw input colors to specific target output colors.

### What is the difference between a 1D LUT and a 3D LUT?

A 1D LUT adjusts red, green, and blue values along separate one-dimensional curves, controlling brightness and contrast. A 3D LUT maps colors inside a three-dimensional color cube, enabling complex shifts in hue, saturation, and luminance simultaneously.

### Why does Log video look so gray and desaturated without a LUT?

Log profiles use logarithmic curves to compress high dynamic range into video containers, protecting highlight and shadow details. Without a conversion LUT to expand the curve back to Rec. 709, the footage looks washed out and flat.

### Is a LUT the same as color grading?

No. A LUT is a fixed, static color transform applied to an entire image. Color grading is an active creative process that balances exposure, adjusts skin tones, and matches lighting shot by shot across an entire film.

---
MacLC is a free, open-source video player for Apple Silicon Macs: https://www.hazenstudio.com/maclc/ · download: https://www.hazenstudio.com/maclc/donate/
