Palette Color Extraction icon

Palette Color Extraction

1.0 for Android
3.0 | 10,000+ Installs

Description of 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.

Information

  • Category:
    Libraries & Demo
  • Latest Version:
    1.0
  • Updated:
    2015-03-01
  • File size:
    6.1MB
  • Requirements:
    Android 4.0 or later
  • ID:
    com.tonyw.sampleapps.palettecolorextraction