Colors of Historic Postcards
Wanna take a look at the colors in our historic postcards? Thanks to Laura Wrubel from the George Washington University Libraries in Washington DC, now you can!
Laura Wrubel built and shared a Jupyter Notebook, detailing how to download images from the Library of Congress API, how to compute the centroids of 6 color clusters using the k-means clustering algorithm, and how to create a vector graphics representation of that.
The two notebooks we used to create data for the swatch viewer
Create the color swatches you see above; based on Laura Wrubel's original Notebook
The code we used to create the data for this page