Palette Extraction

I stumbled on these neat palette-extraction images and wrote a script to create my own. There's a great article with code about using k-means clustering to find the dominant colors in an image. I use that code to find the colors and then plot the circles on top. Here's an example with one of my tulip pics from last week:

tulip palette

I think these are a nice way to visualize the colors in a picture.