Color Palettes

The selection of colors is a critical element of a lighting show. In the course sample code the conventional format for specifying a palette or color set is a CSV file in which each line is a triple of R,G,B values ranging from 0 to 255 (8-bit unsigned). This is a very generic format compatible with many other color tools.

This page offers several example color palettes from various sources. The thumbnail images were generated using pb_gen_palette_img.py as documented on Generating Images in Python with OpenCV. Automatic sampling from images can be performed using pb_extract_palette.py as documented on Image Analysis in Python with SciKit.

The palette files can be browsed online in palettes.

Sample Palettes

../_images/Rothko1.png

Rothko.csv. Hand-sampled from Wikipedia image.

../_images/Ukraine-Colors.png

Ukraine-Colors.csv. RGB values copied from Wikipedia page.

../_images/argon.png

argon.csv. Hand-sampled from Wikipedia image.

../_images/cherries.png

cherries.csv. Hand-sampled from Wikimedia image.

../_images/crocus.png

crocus.csv. Hand-sampled from Wikimedia image.

../_images/hyacinth.png

hyacinth.csv. Hand-sampled from Wikimedia image.

../_images/neon.png

neon.csv. Hand-sampled from Wikimedia image.

../_images/redbud.png

redbud.csv. Hand-sampled from Wikimedia image.

../_images/snow.png

snow.csv. Hand-sampled from Wikimedia image.

../_images/tartan.png

tartan.csv. As specified by The CMU Brand.

../_images/timessquare.png

timessquare.csv. Hand-sampled from Wikimedia image.

../_images/Argentina.png

Argentina.csv. Automatically sampled from a set of images using pb_extract_palette.py.

../_images/Bolivia.png

Bolivia.csv. Automatically sampled from a set of images using pb_extract_palette.py.

../_images/Cuba.png

Cuba.csv. Automatically sampled from a set of images using pb_extract_palette.py.

../_images/Puerto-Rico.png

Puerto-Rico.csv. Automatically sampled from a set of images using pb_extract_palette.py.