When streaming Spotify to a chromecast it sets a background color based on the album artwork on the screen the chromecast is connected to.
Does anyone have an idea what sort of logic they use to calculate this color?
I've tried to reverse engineer it, and with my algorithm I get the same color in about 80 % of the cases.
PS. It's not the most dominant color (more logic is used in the decision)