There are several websites that provide this service such as or, if you ever wondered how does it work you are in the correct place, let's find out. We can load any image and extract a color palette and every color is accompanied by its opposed color (complementary).Įxample of a similar technique can be found in Spotify, when you navigate to a song/playlist or album you get a custom color gradient on top that represents the dominant color of the picture, this gradient adds a unique feel to each page and it's actually the reason why I am doing this post. Repository (the entire codebase is commented).If you can’t wait and want to test it yourself, here are the links to the app demo and the repository. Let me begin by showcasing the end result.
Today I am bring you something really interesting that I think is worth sharing.