Material Color Palette
Simple class https://gist.github.com/MostafaGazar/fbb39a043f82c0201f05 that returns random color from the new Android L Material Color Palette. In the future it should be able to return random colors based on the primary color.
Gist https://gist.github.com/MostafaGazar/fbb39a043f82c0201f05
Usage:
int color = MaterialColorPalette.randomColor();
Written by Mostafa Gazar
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Color
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#