bxyvna
Last Updated: February 25, 2016
·
1.68K
· mostafagazar

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();

https://dribbble.com/shots/1619863-Material-Color-Palette

Picture

Say Thanks
Respond