Color palette from video: extract colors from a frame
Open your own video, pick a frame or a stretch of the clip, and get its main colors with hex codes, RGB values and how much of the picture each one covers.
Your video or image is read on this device. Nothing is uploaded.
Your video or image
MP4, MOV or WebM (whatever this browser can play), PNG, JPG or WebP. Or drop it here.
Share: largest first. Hue: around the color wheel, grays last. Lightness: dark to light.
Preview
Opens the LUT previewer; choose the same file or the saved frame there. Nothing is passed between pages.
Palette
Honest limits: colors come from the 8-bit sRGB picture your browser decodes. Log or HDR footage gives the palette of that decoded picture, not of the graded look you intend. Browser seeking is not frame-exact. The palette uses k-means in the OKLab color space on a copy no larger than 256 pixels on the long edge, with a fixed seed, so the same input always gives the same colors.
How to get a palette from your video
- Click Choose video or image and open a clip your browser can play, or a still frame.
- Move the Frame slider to the shot you want.
- Under Sample, choose This frame for the frame on screen, or Across the clip to sample several frames. For the second, set From and To around the scene and choose the Number of frames to take between them (12 to start with, up to 60).
- Set Number of colors, from 3 to 12. Six is a good first try.
- Use Sort by to order the swatches by Share (how much of the picture each color covers), Hue or Lightness.
- Take the result with you: Copy hex list, Download palette card (PNG), Download CSV or Download GIMP palette (.gpl). Save this frame (PNG) saves the frame itself.
One frame or the whole scene
A single frame shows one moment. If a red car crosses the shot, a one-frame palette can end up mostly red. Across the clip takes frames spread evenly from From to To and pools them, so the palette describes the scene rather than one instant. Keep the range inside one scene. Across a cut, colors from both shots mix into one palette.
How the colors are picked
The tool works on a smaller copy of each frame, at most 256 px on the long side, and groups similar pixels together with k-means clustering. Each swatch is the average of one group, and its share is the part of the sampled pixels in that group. The grouping happens in OKLab, a color space designed, in its author's words, to do "a good job at predicting perceived lightness, chroma and hue". Two colors that look alike end up in the same group more reliably than they would by comparing raw RGB numbers. The starting points are chosen the same way every time, so the same frame and settings always give the same palette.
Because each color is weighted by area, a small bright detail, such as a neon sign in a dark street, may not get a swatch of its own. Raise Number of colors to give smaller areas a chance.
Using the palette
- Hex list: paste the codes into any color picker that takes hex values, in your editor, a design app or a document.
- Palette card: a PNG with the frame and the swatches, each labeled with its hex code, ready for a mood board, a pitch deck or a message to a client.
- CSV: each color's hex code, RGB values and share, for a spreadsheet or a style guide.
- GIMP palette (.gpl): GIMP's documentation lists its own .gpl format among the palettes it imports, and Krita's palette docker also imports GIMP palettes. The .gpl format holds 8-bit sRGB colors without transparency, which is what the tool produces.
To see how a look would change the same shot, save the frame with Save this frame (PNG). Then follow Try LUTs on this frame to the LUT previewer and open the saved PNG there. The two pages don't share files with each other, so the frame only goes where you open it.
Limits
- Your browser decodes the video to 8-bit sRGB pixels before the tool sees them. Small differences from your editor's scopes are normal.
- Log footage gives the palette of the flat log picture, and HDR footage gives the palette of the browser's standard-range version of it. Neither shows the graded look you intend. For a palette of the finished grade, export a graded still or clip from your editor and open that.
- Browser seeking isn't frame-exact, so the frame shown can be a neighbor of the one you aimed for. The palette always comes from the frame you see. If you need one exact frame, export it as a still from your editor.
- The video has to be a format your browser can play. Some HEVC and ProRes files won't open. A PNG or JPG still works.
- It finds up to 12 colors and samples up to 60 frames at a time.
Your files stay on your device
Your video is read and sampled by your browser on your computer. The swatches, the palette card and the other downloads are made in the page, and nothing is uploaded.
Questions
Can I get a color palette from a whole scene instead of one frame?
Yes. Choose Across the clip, set From and To at the start and end of the scene, and pick the Number of frames to sample. The tool pools those frames and weights each color by how much of the picture it covers.
Can After Effects make a color palette from a frame?
Not with a built-in palette tool. In an After Effects ideas thread from March 2024, a member of Adobe's After Effects and Premiere engineering teams explained that the old Kuler panel was discontinued. Palettes now go through Creative Cloud Libraries, made with Adobe Color or Adobe Capture. Here you get the hex codes straight from your footage: Copy hex list and paste them into the color picker.
Why don't the colors match what I see in Premiere or Resolve?
Your editor may show the footage through color management, a LUT or a grade, while this tool reads the 8-bit sRGB picture your browser decodes. Log and HDR clips differ most. Export a graded still from your editor and open it here to get the palette of what your viewers will see.
How do I load the palette into GIMP or Krita?
Click Download GIMP palette (.gpl). In GIMP, import it from the Palettes dialog. In Krita, open the palette selector in the Palette docker and import it as a resource. Both programs' documentation lists the .gpl format.
Is my video uploaded?
No. Your browser reads the file from your disk and the colors are worked out in the page. Once the page has loaded, the tool works with your connection switched off.
Page updated .