Selects the ideal color from album artwork, in Javascript.