How Dopplr generates colors for every city

it’s lovely bits like this that make Dopplr so great