Simple script to get the "average" color of a image
[The more I get to know about PIL, the more this script seems useless]
import blendit
rgb1, rgb2 = blendit.calculate("/path/to/image/") # returns a tuple containing 2 hex values
blendit.show_images(rgb1, rgb2) # shows image form of both hex values
blendit filename
blendit --show filename