Uses the original Colorfy project's algorithm to analyze the album artwork and compute the background color that would be set by Spotify (in about 80 % of cases) and then return this over a REST API.
The program uses k-means clustering to find distinct colors in the artwork and then computes a colorfulness index as defined by Hasler and Süsstrunk (2003) for each of the colors.