This is the source code for my tutorial video:
Check the video on YouTube
Today we are making an app that changes the UI colors automatically according to the images it loads. We'll first see how to use CoreImage to get the average color and build the theme from that. If you are ok with using an external dependency, I'll show a package that can make our app even more colorful!
Branches:
- Starting point - If you want to follow along the tutorial
- CoreImage only - The version with no external dependencies
- Final result - Using a package to get multiple colors
Palette:
Images API:
- Lorem Picsum https://picsum.photos
Other resources used on the video:
- HSB Color Picker https://codepen.io/HunorMarton/details/eWvewo
- Emoji icons https://www.vecteezy.com/free-vector/emoji-black-and-white