the prettiest robot . net - Movie Color Palettes

Each of these images was generated from a popular movie, showing that movie's color palette over time. Click for large versions.

These images were created one vertical column of pixels at a time, from left to right. Each column is composed of the five most prominent colors in a particular still frame. Each of the five components scaled corresponding to the amount of that color in the frame.

The movies were broken down into small frames using FFmpeg. The colors were chosen from each frame via k-means with OpenCV. The final images were created from this color data with Processing.

Here is a breakdown of the image generated from 2001: A Space Odyssey. You can see the stylistic transitions: the green and tan colors of the savanna in the beginning, followed by the bright, familiar colors of the space station, and then the tense darkness of moon base. Near the end, there is the technicolor hyperspace scene, followed by a return to bright light, green, and tan in the aging scene.

Creative Commons License