Article · Published December 3, 2026
A colour grade you can see: 45,000 pixels moving on the graphics card
A colour grade, the look that makes a film feel warm, cold or faded, is usually stored as a LUT: a table that says which colour every colour becomes. Editors apply LUTs every day without ever seeing one. LUT Cube draws it, in the browser, on your own picture.

Every pixel becomes a dot
A colour is three numbers: red, green and blue. So every pixel of a picture has a place in a cube with those three axes. LUT Cube samples the picture down to about 45,000 pixels and draws each one as a dot at its own colour.
Apply a look and the whole cloud moves to where the LUT sends it, while a small before-and-after preview shows the same change on the picture. A second view shows the LUT by itself, as a grid of 17 by 17 by 17 colours, so you see how it bends the whole cube and not only the colours your picture happens to use.
The work is done by the graphics card
The dots are not moved one by one by the page's code. Each dot carries two colours, the original and the graded one, and a single value slides all of them between the two directly on the graphics card.
It runs on WebGPU, the newer graphics interface of browsers, and falls back to WebGL automatically where WebGPU is missing. The colours are exact: a dot's colour is the same value as its position.
Real files, in the real format
You can drop your own image and your own .cube file, the 3D LUT format that editing software such as DaVinci Resolve reads. The page parses the file, including its optional range settings, and applies it by interpolating between the points of the table.
Nothing is uploaded: the image and the LUT stay in the browser. The five built-in looks are plain colour maths, sampled into tables of 33 points per axis so they go through the same path as a loaded file. Even the demo picture is drawn in code.
Why this matters outside colour grading
The same approach fits many products: a tool that works on the user's own files, shows what it is doing, and needs no account and no upload. There is no server doing the processing, so there is no processing bill that grows with use.
When a client asks me for an image, audio or data tool, I first check whether the work can happen on the user's device. When it can, the product is quicker to use, simpler to run and easier to trust.
Try it
LUT Cube is live at jewgah.github.io/lut-cube and the code is public on my GitHub. Slide between the original and the graded colours, or let it play by itself.
Want something like this?
Tell me what you are building, or what you are still doing by hand, and I will tell you how I would approach it. No commitment.