Ruby script to get the color palette of any url