About Palette Color Extraction
The main screen hosts a stream of cards that display images and some prominent colors extracted from them. These colors are: vibrant, vibrant dark, vibrant light, muted, muted dark, and muted light (you can see examples of these in the screenshots). You can also add new cards by adding images from storage or your camera. Finally, you can see title text colors and body text colors that are extracted from a color by pressing on it (long-pressing on the color will instead copy its hexadecimal value to your clipboard).
Android libraries demonstrated:
Palette - https://developer.android.com/reference/android/support/v7/graphics/Palette.html
Palette.Swatch - https://developer.android.com/reference/android/support/v7/graphics/Palette.Swatch.html
Since this app was made for demonstration purposes, you can find the source code at https://github.com/tony-w/PaletteColorExtraction, which, in addition to showing how to use the Palette and Palette.Swatch classes, might be useful for things such as: creating card streams with swipe-to-dismiss and undo, transitioning between activities in Lollipop with animations, and how to get images from storage or the camera.
Download and install
Palette Color Extraction version 1.0 on your
Android device!
Downloaded 1,000+ times, content rating: Everyone
Android package:
com.tonyw.sampleapps.palettecolorextraction, download Palette Color Extraction.apk