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¶
Rothko.csv. Hand-sampled from Wikipedia image.
Ukraine-Colors.csv. RGB values copied from Wikipedia page.
argon.csv. Hand-sampled from Wikipedia image.
cherries.csv. Hand-sampled from Wikimedia image.
crocus.csv. Hand-sampled from Wikimedia image.
hyacinth.csv. Hand-sampled from Wikimedia image.
neon.csv. Hand-sampled from Wikimedia image.
redbud.csv. Hand-sampled from Wikimedia image.
snow.csv. Hand-sampled from Wikimedia image.
tartan.csv. As specified by The CMU Brand.
timessquare.csv. Hand-sampled from Wikimedia image.
Argentina.csv.
Automatically sampled from a set of images using pb_extract_palette.py
.
Bolivia.csv.
Automatically sampled from a set of images using pb_extract_palette.py
.
Cuba.csv.
Automatically sampled from a set of images using pb_extract_palette.py
.
Puerto-Rico.csv.
Automatically sampled from a set of images using pb_extract_palette.py
.