13 -webkit-box-orient: horizontal;
14 -moz-box-orient: horizontal;
15 box-orient: horizontal;
19 -webkit-user-select: none;
21 /* nested user-select in FF is broken as of Jan 2012, don't use it */
24 .color-row-container {
25 line-height: 0; /* to remove more top space in FF for -moz-box elements */
28 .color-row-container + .color-row-container {
29 margin-top: -10px !important;
33 margin-left: 0 !important;
35 list-style-type: none;
44 .color-row li:before {
59 background-color: #fff;
64 box-shadow: 0 5px 5px rgba(0,0,0,0.1);
67 -webkit-user-select: text;
69 /* nested user-select in FF is broken as of Jan 2012, don't use it */
72 .color-row li:hover span {
76 /* triangle callout */
77 .color-row li span:after {
83 border: 8px solid transparent;
84 border-top-color: #fff;
91 <a class="notice-designers-material" href="http://www.google.com/design/spec/style/color.html">
93 <h3>Material Design</h3>
98 <p>Use color primarily for emphasis. Choose colors that fit with your brand and provide good contrast
99 between visual components. Note that red and green may be indistinguishable to color-blind users.</p>
101 <div class="color-row-container">
102 <ul class="color-row">
103 <li><span>#33b5e5</span></li>
104 <li><span>#aa66cc</span></li>
105 <li><span>#99cc00</span></li>
106 <li><span>#ffbb33</span></li>
107 <li><span>#ff4444</span></li>
111 <div class="color-row-container">
112 <ul class="color-row">
113 <li class="thin"><span>#0099cc</span></li>
114 <li class="thin"><span>#9933cc</span></li>
115 <li class="thin"><span>#669900</span></li>
116 <li class="thin"><span>#ff8800</span></li>
117 <li class="thin"><span>#cc0000</span></li>
121 <h2 id="palette">Palette</h2>
123 <p>Blue is the standard accent color in Android's color palette. Each color has a corresponding darker
124 shade that can be used as a complement when needed.</p>
125 <p><a onClick="ga('send', 'event', 'Design', 'Download', 'Color Swatches (@color page)');"
126 href="{@docRoot}downloads/design/Android_Design_Color_Swatches_20120229.zip">Download the swatches</a></p>
128 <img src="{@docRoot}design/media/color_spectrum.png">
131 $(document).ready(function() {
132 $('.color-row li').each(function() {
133 var color = $(this).text();
134 $(this).css('background-color', color);
137 .text(color.toUpperCase());