Related from same author: Generating a color spectrum for an image https://news.ycombinator.com/item?id=47783062