Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!-- Palette -->

<section class="moduleB1">
<div class="module-body">
<p>The color palette starts with primary colors and fills in the spectrum to create a complete and usable palette for Android, Web, and iOS. The primary colors are the 500 range.</p>
</div>
</section>
</div>
<div id="ui-color-palette-extended-color-palette">
<section class="module-html">
<div class="color-palette">
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #e51c23;">
<span class="name light-strong">Red</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#e51c23</span>
</li>
<li class="color dark" style="background-color: #fde0dc;"><span class="shade expanded">50</span><span class="hex">#fde0dc</span></li>
<li class="color dark" style="background-color: #f9bdbb;"><span class="shade">100</span><span class="hex">#f9bdbb</span></li>
<li class="color dark" style="background-color: #f69988;"><span class="shade expanded">200</span><span class="hex">#f69988</span></li>
<li class="color dark" style="background-color: #f36c60;"><span class="shade">300</span><span class="hex">#f36c60</span></li>
<li class="color dark" style="background-color: #e84e40;"><span class="shade expanded">400</span><span class="hex">#e84e40</span></li>
<li class="color light-strong" style="background-color: #e51c23;"><span class="shade">500</span><span class="hex">#e51c23</span></li>
<li class="color light-strong" style="background-color: #dd191d;"><span class="shade expanded">600</span><span class="hex">#dd191d</span></li>
<li class="color light-strong" style="background-color: #d01716;"><span class="shade">700</span><span class="hex">#d01716</span></li>
<li class="color" style="background-color: #c41411;"><span class="shade expanded">800</span><span class="hex">#c41411</span></li>
<li class="color" style="background-color: #b0120a;"><span class="shade expanded">900</span><span class="hex">#b0120a</span></li>
<li class="color dark" style="background-color: #ff7997;"><span class="shade accent">A100</span><span class="hex">#ff7997</span></li>
<li class="color light-strong" style="background-color: #ff5177;"><span class="shade accent expanded">A200</span><span class="hex">#ff5177</span></li>
<li class="color light-strong" style="background-color: #ff2d6f;"><span class="shade accent expanded">A400</span><span class="hex">#ff2d6f</span></li>
<li class="color light-strong" style="background-color: #e00032;"><span class="shade accent">A700</span><span class="hex">#e00032</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #E91E63;">
<span class="name light-strong">Pink</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#e91e63</span>
</li>
<li class="color dark" style="background-color: #fce4ec;"><span class="shade expanded">50</span><span class="hex">#fce4ec</span></li>
<li class="color dark" style="background-color: #f8bbd0;"><span class="shade">100</span><span class="hex">#f8bbd0</span></li>
<li class="color dark" style="background-color: #f48fb1;"><span class="shade expanded">200</span><span class="hex">#f48fb1</span></li>
<li class="color dark" style="background-color: #f06292;"><span class="shade">300</span><span class="hex">#f06292</span></li>
<li class="color dark" style="background-color: #ec407a;"><span class="shade expanded">400</span><span class="hex">#ec407a</span></li>
<li class="color light-strong" style="background-color: #e91e63;"><span class="shade">500</span><span class="hex">#e91e63</span></li>
<li class="color light-strong" style="background-color: #d81b60;"><span class="shade expanded">600</span><span class="hex">#d81b60</span></li>
<li class="color" style="background-color: #c2185b;"><span class="shade">700</span><span class="hex">#c2185b</span></li>
<li class="color" style="background-color: #ad1457;"><span class="shade">800</span><span class="hex">#ad1457</span></li>
<li class="color" style="background-color: #880e4f;"><span class="shade">900</span><span class="hex">#880e4f</span></li>
<li class="color dark" style="background-color: #ff80ab;"><span class="shade accent">A100</span><span class="hex">#ff80ab</span></li>
<li class="color light-strong" style="background-color: #ff4081;"><span class="shade accent expanded">A200</span><span class="hex">#ff4081</span></li>
<li class="color light-strong" style="background-color: #f50057;"><span class="shade accent expanded">A400</span><span class="hex">#f50057</span></li>
<li class="color light-strong" style="background-color: #c51162;"><span class="shade accent">A700</span><span class="hex">#c51162</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #9c27b0;">
<span class="name">Purple</span>
<span class="shade">500</span>
<span class="hex">#9c27b0</span>
</li>
<li class="color dark" style="background-color: #f3e5f5;"><span class="shade expanded">50</span><span class="hex">#f3e5f5</span></li>
<li class="color dark" style="background-color: #e1bee7;"><span class="shade">100</span><span class="hex">#e1bee7</span></li>
<li class="color dark" style="background-color: #ce93d8;"><span class="shade expanded">200</span><span class="hex">#ce93d8</span></li>
<li class="color light-strong" style="background-color: #ba68c8;"><span class="shade">300</span><span class="hex">#ba68c8</span></li>
<li class="color light-strong" style="background-color: #ab47bc;"><span class="shade expanded">400</span><span class="hex">#ab47bc</span></li>
<li class="color" style="background-color: #9c27b0;"><span class="shade">500</span><span class="hex">#9c27b0</span></li>
<li class="color" style="background-color: #8e24aa;"><span class="shade expanded">600</span><span class="hex">#8e24aa</span></li>
<li class="color" style="background-color: #7b1fa2;"><span class="shade">700</span><span class="hex">#7b1fa2</span></li>
<li class="color" style="background-color: #6a1b9a;"><span class="shade expanded">800</span><span class="hex">#6a1b9a</span></li>
<li class="color" style="background-color: #4a148c;"><span class="shade expanded">900</span><span class="hex">#4a148c</span></li>
<li class="color dark" style="background-color: #ea80fc;"><span class="shade accent">A100</span><span class="hex">#ea80fc</span></li>
<li class="color light-strong" style="background-color: #e040fb;"><span class="shade accent expanded">A200</span><span class="hex">#e040fb</span></li>
<li class="color light-strong" style="background-color: #d500f9;"><span class="shade accent expanded">A400</span><span class="hex">#d500f9</span></li>
<li class="color light-strong" style="background-color: #aa00ff;"><span class="shade accent">A700</span><span class="hex">#aa00ff</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #673ab7;">
<span class="name">Deep Purple</span>
<span class="shade">500</span>
<span class="hex">#673ab7</span>
</li>
<li class="color dark" style="background-color: #ede7f6;"><span class="shade expanded">50</span><span class="hex">#ede7f6</span></li>
<li class="color dark" style="background-color: #d1c4e9;"><span class="shade">100</span><span class="hex">#d1c4e9</span></li>
<li class="color dark" style="background-color: #b39ddb;"><span class="shade expanded">200</span><span class="hex">#b39ddb</span></li>
<li class="color light-strong" style="background-color: #9575cd;"><span class="shade">300</span><span class="hex">#9575cd</span></li>
<li class="color light-strong" style="background-color: #7e57c2;"><span class="shade expanded">400</span><span class="hex">#7e57c2</span></li>
<li class="color" style="background-color: #673ab7;"><span class="shade">500</span><span class="hex">#673ab7</span></li>
<li class="color" style="background-color: #5e35b1;"><span class="shade expanded">600</span><span class="hex">#5e35b1</span></li>
<li class="color" style="background-color: #512da8;"><span class="shade">700</span><span class="hex">#512da8</span></li>
<li class="color" style="background-color: #4527a0;"><span class="shade expanded">800</span><span class="hex">#4527a0</span></li>
<li class="color" style="background-color: #311b92;"><span class="shade expanded">900</span><span class="hex">#311b92</span></li>
<li class="color dark" style="background-color: #b388ff;"><span class="shade accent">A100</span><span class="hex">#b388ff</span></li>
<li class="color light-strong" style="background-color: #7c4dff;"><span class="shade accent expanded">A200</span><span class="hex">#7c4dff</span></li>
<li class="color" style="background-color: #651fff;"><span class="shade accent expanded">A400</span><span class="hex">#651fff</span></li>
<li class="color" style="background-color: #6200ea;"><span class="shade accent">A700</span><span class="hex">#6200ea</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #3f51b5;">
<span class="name">Indigo</span>
<span class="shade">500</span>
<span class="hex">#3f51b5</span>
</li>
<li class="color dark" style="background-color: #e8eaf6;"><span class="shade expanded">50</span><span class="hex">#e8eaf6</span></li>
<li class="color dark" style="background-color: #c5cae9;"><span class="shade">100</span><span class="hex">#c5cae9</span></li>
<li class="color dark" style="background-color: #9fa8da;"><span class="shade expanded">200</span><span class="hex">#9fa8da</span></li>
<li class="color light-strong" style="background-color: #7986cb;"><span class="shade">300</span><span class="hex">#7986cb</span></li>
<li class="color light-strong" style="background-color: #5c6bc0;"><span class="shade expanded">400</span><span class="hex">#5c6bc0</span></li>
<li class="color" style="background-color: #3f51b5;"><span class="shade">500</span><span class="hex">#3f51b5</span></li>
<li class="color" style="background-color: #3949ab;"><span class="shade expanded">600</span><span class="hex">#3949ab</span></li>
<li class="color" style="background-color: #303f9f;"><span class="shade">700</span><span class="hex">#303f9f</span></li>
<li class="color" style="background-color: #283593;"><span class="shade expanded">800</span><span class="hex">#283593</span></li>
<li class="color" style="background-color: #1a237e;"><span class="shade expanded">900</span><span class="hex">#1a237e</span></li>
<li class="color dark" style="background-color: #8c9eff;"><span class="shade accent">A100</span><span class="hex">#8c9eff</span></li>
<li class="color light-strong" style="background-color: #536dfe;"><span class="shade accent expanded">A200</span><span class="hex">#536dfe</span></li>
<li class="color light-strong" style="background-color: #3d5afe;"><span class="shade accent expanded">A400</span><span class="hex">#3d5afe</span></li>
<li class="color" style="background-color: #304ffe;"><span class="shade accent">A700</span><span class="hex">#304ffe</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #5677fc;">
<span class="name light-strong">Blue</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#5677fc</span>
</li>
<li class="color dark" style="background-color: #e7e9fd;"><span class="shade expanded">50</span><span class="hex">#e7e9fd</span></li>
<li class="color dark" style="background-color: #d0d9ff;"><span class="shade">100</span><span class="hex">#d0d9ff</span></li>
<li class="color dark" style="background-color: #afbfff;"><span class="shade expanded">200</span><span class="hex">#afbfff</span></li>
<li class="color dark" style="background-color: #91a7ff;"><span class="shade">300</span><span class="hex">#91a7ff</span></li>
<li class="color dark" style="background-color: #738ffe;"><span class="shade expanded">400</span><span class="hex">#738ffe</span></li>
<li class="color light-strong" style="background-color: #5677fc;"><span class="shade">500</span><span class="hex">#5677fc</span></li>
<li class="color light-strong" style="background-color: #4e6cef;"><span class="shade expanded">600</span><span class="hex">#4e6cef</span></li>
<li class="color light-strong" style="background-color: #455ede;"><span class="shade">700</span><span class="hex">#455ede</span></li>
<li class="color" style="background-color: #3b50ce;"><span class="shade expanded">800</span><span class="hex">#3b50ce</span></li>
<li class="color" style="background-color: #2a36b1;"><span class="shade expanded">900</span><span class="hex">#2a36b1</span></li>
<li class="color dark" style="background-color: #a6baff;"><span class="shade accent">A100</span><span class="hex">#a6baff</span></li>
<li class="color light-strong" style="background-color: #6889ff;"><span class="shade accent expanded">A200</span><span class="hex">#6889ff</span></li>
<li class="color light-strong" style="background-color: #4d73ff;"><span class="shade accent expanded">A400</span><span class="hex">#4d73ff</span></li>
<li class="color light-strong" style="background-color: #4d69ff;"><span class="shade accent">A700</span><span class="hex">#4d69ff</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #03a9f4;">
<span class="name light-strong">Light Blue</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#03a9f4</span>
</li>
<li class="color dark" style="background-color: #e1f5fe;"><span class="shade expanded">50</span><span class="hex">#e1f5fe</span></li>
<li class="color dark" style="background-color: #b3e5fc;"><span class="shade">100</span><span class="hex">#b3e5fc</span></li>
<li class="color dark" style="background-color: #81d4fa;"><span class="shade expanded">200</span><span class="hex">#81d4fa</span></li>
<li class="color dark" style="background-color: #4fc3f7;"><span class="shade">300</span><span class="hex">#4fc3f7</span></li>
<li class="color dark" style="background-color: #29b6f6;"><span class="shade expanded">400</span><span class="hex">#29b6f6</span></li>
<li class="color light-strong" style="background-color: #03a9f4;"><span class="shade">500</span><span class="hex">#03a9f4</span></li>
<li class="color light-strong" style="background-color: #039be5;"><span class="shade expanded">600</span><span class="hex">#039be5</span></li>
<li class="color light-strong" style="background-color: #0288d1;"><span class="shade">700</span><span class="hex">#0288d1</span></li>
<li class="color light-strong" style="background-color: #0277bd;"><span class="shade expanded">800</span><span class="hex">#0277bd</span></li>
<li class="color" style="background-color: #01579b;"><span class="shade expanded">900</span><span class="hex">#01579b</span></li>
<li class="color dark" style="background-color: #80d8ff;"><span class="shade accent">A100</span><span class="hex">#80d8ff</span></li>
<li class="color dark" style="background-color: #40c4ff;"><span class="shade accent expanded">A200</span><span class="hex">#40c4ff</span></li>
<li class="color dark" style="background-color: #00b0ff;"><span class="shade accent expanded">A400</span><span class="hex">#00b0ff</span></li>
<li class="color light-strong" style="background-color: #0091ea;"><span class="shade accent">A700</span><span class="hex">#0091ea</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #00bcd4;">
<span class="name light-strong">Cyan</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#00bcd4</span>
</li>
<li class="color dark" style="background-color: #e0f7fa;"><span class="shade expanded">50</span><span class="hex">#e0f7fa</span></li>
<li class="color dark" style="background-color: #b2ebf2;"><span class="shade">100</span><span class="hex">#b2ebf2</span></li>
<li class="color dark" style="background-color: #80deea;"><span class="shade expanded">200</span><span class="hex">#80deea</span></li>
<li class="color dark" style="background-color: #4dd0e1;"><span class="shade">300</span><span class="hex">#4dd0e1</span></li>
<li class="color dark" style="background-color: #26c6da;"><span class="shade expanded">400</span><span class="hex">#26c6da</span></li>
<li class="color light-strong" style="background-color: #00bcd4;"><span class="shade">500</span><span class="hex">#00bcd4</span></li>
<li class="color light-strong" style="background-color: #00acc1;"><span class="shade expanded">600</span><span class="hex">#00acc1</span></li>
<li class="color light-strong" style="background-color: #0097a7;"><span class="shade">700</span><span class="hex">#0097a7</span></li>
<li class="color light-strong" style="background-color: #00838f;"><span class="shade expanded">800</span><span class="hex">#00838f</span></li>
<li class="color" style="background-color: #006064;"><span class="shade expanded">900</span><span class="hex">#006064</span></li>
<li class="color dark" style="background-color: #84ffff;"><span class="shade accent">A100</span><span class="hex">#84ffff</span></li>
<li class="color dark" style="background-color: #18ffff;"><span class="shade accent expanded">A200</span><span class="hex">#18ffff</span></li>
<li class="color dark" style="background-color: #00e5ff;"><span class="shade accent expanded">A400</span><span class="hex">#00e5ff</span></li>
<li class="color dark" style="background-color: #00b8d4;"><span class="shade accent">A700</span><span class="hex">#00b8d4</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #009688;">
<span class="name light-strong">Teal</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#009688</span>
</li>
<li class="color dark" style="background-color: #e0f2f1;"><span class="shade expanded">50</span><span class="hex">#e0f2f1</span></li>
<li class="color dark" style="background-color: #b2dfdb;"><span class="shade">100</span><span class="hex">#b2dfdb</span></li>
<li class="color dark" style="background-color: #80cbc4;"><span class="shade expanded">200</span><span class="hex">#80cbc4</span></li>
<li class="color dark" style="background-color: #4db6ac;"><span class="shade">300</span><span class="hex">#4db6ac</span></li>
<li class="color dark" style="background-color: #26a69a;"><span class="shade expanded">400</span><span class="hex">#26a69a</span></li>
<li class="color light-strong" style="background-color: #009688;"><span class="shade">500</span><span class="hex">#009688</span></li>
<li class="color light-strong" style="background-color: #00897b;"><span class="shade expanded">600</span><span class="hex">#00897b</span></li>
<li class="color light-strong" style="background-color: #00796b;"><span class="shade">700</span><span class="hex">#00796b</span></li>
<li class="color" style="background-color: #00695c;"><span class="shade expanded">800</span><span class="hex">#00695c</span></li>
<li class="color" style="background-color: #004d40;"><span class="shade expanded">900</span><span class="hex">#004d40</span></li>
<li class="color dark" style="background-color: #a7ffeb;"><span class="shade accent">A100</span><span class="hex">#a7ffeb</span></li>
<li class="color dark" style="background-color: #64ffda;"><span class="shade accent expanded">A200</span><span class="hex">#64ffda</span></li>
<li class="color dark" style="background-color: #1de9b6;"><span class="shade accent expanded">A400</span><span class="hex">#1de9b6</span></li>
<li class="color dark" style="background-color: #00bfa5;"><span class="shade accent">A700</span><span class="hex">#00bfa5</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #259b24;">
<span class="name light-strong">Green</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#259b24</span>
</li>
<li class="color dark" style="background-color: #d0f8ce;"><span class="shade expanded">50</span><span class="hex">#d0f8ce</span></li>
<li class="color dark" style="background-color: #a3e9a4;"><span class="shade">100</span><span class="hex">#a3e9a4</span></li>
<li class="color dark" style="background-color: #72d572;"><span class="shade expanded">200</span><span class="hex">#72d572</span></li>
<li class="color dark" style="background-color: #42bd41;"><span class="shade">300</span><span class="hex">#42bd41</span></li>
<li class="color dark" style="background-color: #2baf2b;"><span class="shade expanded">400</span><span class="hex">#2baf2b</span></li>
<li class="color light-strong" style="background-color: #259b24;"><span class="shade">500</span><span class="hex">#259b24</span></li>
<li class="color light-strong" style="background-color: #0a8f08;"><span class="shade expanded">600</span><span class="hex">#0a8f08</span></li>
<li class="color light-strong" style="background-color: #0a7e07;"><span class="shade">700</span><span class="hex">#0a7e07</span></li>
<li class="color" style="background-color: #056f00;"><span class="shade expanded">800</span><span class="hex">#056f00</span></li>
<li class="color" style="background-color: #0d5302;"><span class="shade expanded">900</span><span class="hex">#0d5302</span></li>
<li class="color dark" style="background-color: #a2f78d;"><span class="shade accent">A100</span><span class="hex">#a2f78d</span></li>
<li class="color dark" style="background-color: #5af158;"><span class="shade accent expanded">A200</span><span class="hex">#5af158</span></li>
<li class="color dark" style="background-color: #14e715;"><span class="shade accent expanded">A400</span><span class="hex">#14e715</span></li>
<li class="color dark" style="background-color: #12c700;"><span class="shade accent">A700</span><span class="hex">#12c700</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #8bc34a;">
<span class="name">Light Green</span>
<span class="shade">500</span>
<span class="hex">#8bc34a</span>
</li>
<li class="color dark" style="background-color: #f1f8e9;"><span class="shade expanded">50</span><span class="hex">#f1f8e9</span></li>
<li class="color dark" style="background-color: #dcedc8;"><span class="shade">100</span><span class="hex">#dcedc8</span></li>
<li class="color dark" style="background-color: #c5e1a5;"><span class="shade expanded">200</span><span class="hex">#c5e1a5</span></li>
<li class="color dark" style="background-color: #aed581;"><span class="shade">300</span><span class="hex">#aed581</span></li>
<li class="color dark" style="background-color: #9ccc65;"><span class="shade expanded">400</span><span class="hex">#9ccc65</span></li>
<li class="color dark-when-small" style="background-color: #8bc34a;"><span class="shade">500</span><span class="hex">#8bc34a</span></li>
<li class="color dark-when-small" style="background-color: #7cb342;"><span class="shade expanded">600</span><span class="hex">#7cb342</span></li>
<li class="color dark-when-small" style="background-color: #689f38;"><span class="shade">700</span><span class="hex">#689f38</span></li>
<li class="color light-strong" style="background-color: #558b2f;"><span class="shade expanded">800</span><span class="hex">#558b2f</span></li>
<li class="color light-strong" style="background-color: #33691e;"><span class="shade expanded">900</span><span class="hex">#33691e</span></li>
<li class="color dark" style="background-color: #ccff90;"><span class="shade accent">A100</span><span class="hex">#ccff90</span></li>
<li class="color dark" style="background-color: #b2ff59;"><span class="shade accent expanded">A200</span><span class="hex">#b2ff59</span></li>
<li class="color dark" style="background-color: #76ff03;"><span class="shade accent expanded">A400</span><span class="hex">#76ff03</span></li>
<li class="color dark" style="background-color: #64dd17;"><span class="shade accent">A700</span><span class="hex">#64dd17</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #cddc39;">
<span class="name dark">Lime</span>
<span class="shade dark">500</span>
<span class="hex dark">#cddc39</span>
</li>
<li class="color dark" style="background-color: #f9fbe7;"><span class="shade expanded">50</span><span class="hex">#f9fbe7</span></li>
<li class="color dark" style="background-color: #f0f4c3;"><span class="shade">100</span><span class="hex">#f0f4c3</span></li>
<li class="color dark" style="background-color: #e6ee9c;"><span class="shade expanded">200</span><span class="hex">#e6ee9c</span></li>
<li class="color dark" style="background-color: #dce775;"><span class="shade">300</span><span class="hex">#dce775</span></li>
<li class="color dark" style="background-color: #d4e157;"><span class="shade expanded">400</span><span class="hex">#d4e157</span></li>
<li class="color dark" style="background-color: #cddc39;"><span class="shade">500</span><span class="hex">#cddc39</span></li>
<li class="color dark" style="background-color: #c0ca33;"><span class="shade expanded">600</span><span class="hex">#c0ca33</span></li>
<li class="color dark-when-small" style="background-color: #afb42b;"><span class="shade">700</span><span class="hex">#afb42b</span></li>
<li class="color dark-when-small" style="background-color: #9e9d24;"><span class="shade expanded">800</span><span class="hex">#9e9d24</span></li>
<li class="color light-strong" style="background-color: #827717;"><span class="shade expanded">900</span><span class="hex">#827717</span></li>
<li class="color dark" style="background-color: #f4ff81;"><span class="shade accent">A100</span><span class="hex">#f4ff81</span></li>
<li class="color dark" style="background-color: #eeff41;"><span class="shade accent expanded">A200</span><span class="hex">#eeff41</span></li>
<li class="color dark" style="background-color: #c6ff00;"><span class="shade accent expanded">A400</span><span class="hex">#c6ff00</span></li>
<li class="color dark" style="background-color: #aeea00;"><span class="shade accent">A700</span><span class="hex">#aeea00</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #ffeb3b;">
<span class="name dark">Yellow</span>
<span class="shade dark">500</span>
<span class="hex dark">#ffeb3b</span>
</li>
<li class="color dark" style="background-color: #fffde7;"><span class="shade expanded">50</span><span class="hex">#fffde7</span></li>
<li class="color dark" style="background-color: #fff9c4;"><span class="shade">100</span><span class="hex">#fff9c4</span></li>
<li class="color dark" style="background-color: #fff59d;"><span class="shade expanded">200</span><span class="hex">#fff59d</span></li>
<li class="color dark" style="background-color: #fff176;"><span class="shade">300</span><span class="hex">#fff176</span></li>
<li class="color dark" style="background-color: #ffee58;"><span class="shade expanded">400</span><span class="hex">#ffee58</span></li>
<li class="color dark" style="background-color: #ffeb3b;"><span class="shade">500</span><span class="hex">#ffeb3b</span></li>
<li class="color dark" style="background-color: #fdd835;"><span class="shade expanded">600</span><span class="hex">#fdd835</span></li>
<li class="color dark" style="background-color: #fbc02d;"><span class="shade">700</span><span class="hex">#fbc02d</span></li>
<li class="color dark" style="background-color: #f9a825;"><span class="shade expanded">800</span><span class="hex">#f9a825</span></li>
<li class="color dark-when-small" style="background-color: #f57f17;"><span class="shade expanded">900</span><span class="hex">#f57f17</span></li>
<li class="color dark" style="background-color: #ffff8d;"><span class="shade accent">A100</span><span class="hex">#ffff8d</span></li>
<li class="color dark" style="background-color: #ffff00;"><span class="shade accent expanded">A200</span><span class="hex">#ffff00</span></li>
<li class="color dark" style="background-color: #ffea00;"><span class="shade accent expanded">A400</span><span class="hex">#ffea00</span></li>
<li class="color dark" style="background-color: #ffd600;"><span class="shade accent">A700</span><span class="hex">#ffd600</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #ffc107;">
<span class="name dark">Amber</span>
<span class="shade dark">500</span>
<span class="hex dark">#ffc107</span>
</li>
<li class="color dark" style="background-color: #fff8e1;"><span class="shade expanded">50</span><span class="hex">#fff8e1</span></li>
<li class="color dark" style="background-color: #ffecb3;"><span class="shade">100</span><span class="hex">#ffecb3</span></li>
<li class="color dark" style="background-color: #ffe082;"><span class="shade expanded">200</span><span class="hex">#ffe082</span></li>
<li class="color dark" style="background-color: #ffd54f;"><span class="shade">300</span><span class="hex">#ffd54f</span></li>
<li class="color dark" style="background-color: #ffca28;"><span class="shade expanded">400</span><span class="hex">#ffca28</span></li>
<li class="color dark" style="background-color: #ffc107;"><span class="shade">500</span><span class="hex">#ffc107</span></li>
<li class="color dark" style="background-color: #ffb300;"><span class="shade expanded">600</span><span class="hex">#ffb300</span></li>
<li class="color dark-when-small" style="background-color: #ffa000;"><span class="shade">700</span><span class="hex">#ffa000</span></li>
<li class="color dark-when-small" style="background-color: #ff8f00;"><span class="shade expanded">800</span><span class="hex">#ff8f00</span></li>
<li class="color dark-when-small" style="background-color: #ff6f00;"><span class="shade expanded">900</span><span class="hex">#ff6f00</span></li>
<li class="color dark" style="background-color: #ffe57f;"><span class="shade accent">A100</span><span class="hex">#ffe57f</span></li>
<li class="color dark" style="background-color: #ffd740;"><span class="shade accent expanded">A200</span><span class="hex">#ffd740</span></li>
<li class="color dark" style="background-color: #ffc400;"><span class="shade accent expanded">A400</span><span class="hex">#ffc400</span></li>
<li class="color dark" style="background-color: #ffab00;"><span class="shade accent">A700</span><span class="hex">#ffab00</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #ff9800;">
<span class="name dark-when-small">Orange</span>
<span class="shade dark-when-small">500</span>
<span class="hex dark-when-small">#ff9800</span>
</li>
<li class="color dark" style="background-color: #fff3e0;"><span class="shade expanded">50</span><span class="hex">#fff3e0</span></li>
<li class="color dark" style="background-color: #ffe0b2;"><span class="shade">100</span><span class="hex">#ffe0b2</span></li>
<li class="color dark" style="background-color: #ffcc80;"><span class="shade expanded">200</span><span class="hex">#ffcc80</span></li>
<li class="color dark" style="background-color: #ffb74d;"><span class="shade">300</span><span class="hex">#ffb74d</span></li>
<li class="color dark" style="background-color: #ffa726;"><span class="shade expanded">400</span><span class="hex">#ffa726</span></li>
<li class="color dark-when-small" style="background-color: #ff9800;"><span class="shade">500</span><span class="hex">#ff9800</span></li>
<li class="color dark-when-small" style="background-color: #fb8c00;"><span class="shade expanded">600</span><span class="hex">#fb8c00</span></li>
<li class="color dark-when-small" style="background-color: #f57c00;"><span class="shade">700</span><span class="hex">#f57c00</span></li>
<li class="color light-strong" style="background-color: #ef6c00;"><span class="shade expanded">800</span><span class="hex">#ef6c00</span></li>
<li class="color light-strong" style="background-color: #e65100;"><span class="shade expanded">900</span><span class="hex">#e65100</span></li>
<li class="color dark" style="background-color: #ffd180;"><span class="shade accent">A100</span><span class="hex">#ffd180</span></li>
<li class="color dark" style="background-color: #ffab40;"><span class="shade accent expanded">A200</span><span class="hex">#ffab40</span></li>
<li class="color dark" style="background-color: #ff9100;"><span class="shade accent expanded">A400</span><span class="hex">#ff9100</span></li>
<li class="color dark-strong" style="background-color: #ff6d00;"><span class="shade accent">A700</span><span class="hex">#ff6d00</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #ff5722;">
<span class="name light-strong">Deep Orange</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#ff5722</span>
</li>
<li class="color dark" style="background-color: #fbe9e7;"><span class="shade expanded">50</span><span class="hex">#fbe9e7</span></li>
<li class="color dark" style="background-color: #ffccbc;"><span class="shade">100</span><span class="hex">#ffccbc</span></li>
<li class="color dark" style="background-color: #ffab91;"><span class="shade expanded">200</span><span class="hex">#ffab91</span></li>
<li class="color dark" style="background-color: #ff8a65;"><span class="shade">300</span><span class="hex">#ff8a65</span></li>
<li class="color dark" style="background-color: #ff7043;"><span class="shade expanded">400</span><span class="hex">#ff7043</span></li>
<li class="color light-strong" style="background-color: #ff5722;"><span class="shade">500</span><span class="hex">#ff5722</span></li>
<li class="color light-strong" style="background-color: #f4511e;"><span class="shade expanded">600</span><span class="hex">#f4511e</span></li>
<li class="color light-strong" style="background-color: #e64a19;"><span class="shade">700</span><span class="hex">#e64a19</span></li>
<li class="color light-strong" style="background-color: #d84315;"><span class="shade expanded">800</span><span class="hex">#d84315</span></li>
<li class="color light-strong" style="background-color: #bf360c;"><span class="shade expanded">900</span><span class="hex">#bf360c</span></li>
<li class="color dark" style="background-color: #ff9e80;"><span class="shade accent">A100</span><span class="hex">#ff9e80</span></li>
<li class="color dark" style="background-color: #ff6e40;"><span class="shade accent expanded">A200</span><span class="hex">#ff6e40</span></li>
<li class="color light-strong" style="background-color: #ff3d00;"><span class="shade accent expanded">A400</span><span class="hex">#ff3d00</span></li>
<li class="color light-strong" style="background-color: #dd2c00;"><span class="shade accent">A700</span><span class="hex">#dd2c00</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #795548;">
<span class="name">Brown</span>
<span class="shade">500</span>
<span class="hex">#795548</span>
</li>
<li class="color dark" style="background-color: #efebe9;"><span class="shade expanded">50</span><span class="hex">#efebe9</span></li>
<li class="color dark" style="background-color: #d7ccc8;"><span class="shade">100</span><span class="hex">#d7ccc8</span></li>
<li class="color dark" style="background-color: #bcaaa4;"><span class="shade expanded">200</span><span class="hex">#bcaaa4</span></li>
<li class="color light-strong" style="background-color: #a1887f;"><span class="shade">300</span><span class="hex">#a1887f</span></li>
<li class="color light-strong" style="background-color: #8d6e63;"><span class="shade expanded">400</span><span class="hex">#8d6e63</span></li>
<li class="color" style="background-color: #795548;"><span class="shade">500</span><span class="hex">#795548</span></li>
<li class="color" style="background-color: #6d4c41;"><span class="shade expanded">600</span><span class="hex">#6d4c41</span></li>
<li class="color" style="background-color: #5d4037;"><span class="shade">700</span><span class="hex">#5d4037</span></li>
<li class="color" style="background-color: #4e342e;"><span class="shade expanded">800</span><span class="hex">#4e342e</span></li>
<li class="color" style="background-color: #3e2723;"><span class="shade expanded">900</span><span class="hex">#3e2723</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #9e9e9e;">
<span class="name dark-when-small">Grey</span>
<span class="shade dark-when-small">500</span>
<span class="hex dark-when-small">#9e9e9e</span>
</li>
<li class="color dark" style="background-color: #fafafa;"><span class="shade expanded">50</span><span class="hex">#fafafa</span></li>
<li class="color dark" style="background-color: #f5f5f5;"><span class="shade">100</span><span class="hex">#f5f5f5</span></li>
<li class="color dark" style="background-color: #eeeeee;"><span class="shade expanded">200</span><span class="hex">#eeeeee</span></li>
<li class="color dark" style="background-color: #e0e0e0;"><span class="shade">300</span><span class="hex">#e0e0e0</span></li>
<li class="color dark" style="background-color: #bdbdbd;"><span class="shade expanded">400</span><span class="hex">#bdbdbd</span></li>
<li class="color dark-when-small" style="background-color: #9e9e9e;"><span class="shade">500</span><span class="hex">#9e9e9e</span></li>
<li class="color" style="background-color: #757575;"><span class="shade expanded">600</span><span class="hex">#757575</span></li>
<li class="color" style="background-color: #616161;"><span class="shade">700</span><span class="hex">#616161</span></li>
<li class="color" style="background-color: #424242;"><span class="shade expanded">800</span><span class="hex">#424242</span></li>
<li class="color" style="background-color: #212121;"><span class="shade expanded">900</span><span class="hex">#212121</span></li>
<li class="color" style="background-color: #000000;"><span class="shade accent">1000</span><span class="hex">#000000</span></li>
<li class="color dark" style="background-color: #ffffff;"><span class="shade accent expanded">1000</span><span class="hex">#ffffff</span></li>
</ul>
</section>
<section class="color-group">
<ul>
<li class="color main-color" style="background-color: #607d8b;">
<span class="name light-strong">Blue Grey</span>
<span class="shade light-strong">500</span>
<span class="hex light-strong">#607d8b</span>
</li>
<li class="color dark" style="background-color: #eceff1;"><span class="shade expanded">50</span><span class="hex">#eceff1</span></li>
<li class="color dark" style="background-color: #cfd8dc;"><span class="shade">100</span><span class="hex">#cfd8dc</span></li>
<li class="color dark" style="background-color: #b0bec5;"><span class="shade expanded">200</span><span class="hex">#b0bec5</span></li>
<li class="color dark" style="background-color: #90a4ae;"><span class="shade">300</span><span class="hex">#90a4ae</span></li>
<li class="color light-strong" style="background-color: #78909c;"><span class="shade expanded">400</span><span class="hex">#78909c</span></li>
<li class="color light-strong" style="background-color: #607d8b;"><span class="shade">500</span><span class="hex">#607d8b</span></li>
<li class="color" style="background-color: #546e7a;"><span class="shade expanded">600</span><span class="hex">#546e7a</span></li>
<li class="color" style="background-color: #455a64;"><span class="shade">700</span><span class="hex">#455a64</span></li>
<li class="color" style="background-color: #37474f;"><span class="shade expanded">800</span><span class="hex">#37474f</span></li>
<li class="color" style="background-color: #263238;"><span class="shade expanded">900</span><span class="hex">#263238</span></li>
</ul>
</section>
</div>
</section>
</div>
<div id="ui-color-palette-">
<section class="moduleB1">
</section>
</div>
</div>

              
            
!

CSS

              
                /*TODO: extract all colors to CSS*/

html, body {
color: #333;
font-family: 'RobotoDraft', sans-serif;
font-size: 1em;
-webkit-font-smoothing: antialiased;
line-height: 1em; }
h1, h2, h3, h4, h5, h6 {
font-family: 'RobotoDraft', sans-serif;
margin: 0;
text-rendering: optimizeLegibility; }
h1 {
font-size: 2.25em; }
h2 {
font-size: 2em; }
h3 {
font-size: 1.75em; }
h4 {
font-size: 1.5em; }
h5 {
font-size: 1.25em; }
h6 {
font-size: 1em; }
p {
margin: 0 0 0.5em; }
a {
color: #0277bb;
text-decoration: none;
-webkit-transition: color 0.1s linear;
-moz-transition: color 0.1s linear;
transition: color 0.1s linear; }
a:hover {
color: #01476f; }
a:active, a:focus {
color: #01476f; }
hr {
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
border-left: none;
border-right: none;
border-top: none;
margin: 1em 0; }
img {
margin: 0;
max-width: 100%; }
abbr, acronym {
border-bottom: 1px dotted #DDD;
cursor: help; }
address {
display: block;
margin: 0 0 0.5em; }
hgroup {
margin-bottom: 0.5em; }
del {
color: #595959; }
blockquote {
border-left: 2px solid #DDD;
color: #595959;
margin: 1em 0;
padding-left: 0.5em; }
cite {
color: #737373;
font-style: italic; }
cite:before {
content: '\2014 \00A0'; }
fieldset {
background: #f7f7f7;
border: 1px solid #DDD;
margin: 0 0 0.5em 0;
padding: 1em; }
input, label, select {
display: block;
font-family: 'RobotoDraft', sans-serif;
font-size: 1em; }
label {
font-weight: bold;
margin-bottom: 0.25em; }
label.required:after {
content: "*"; }
label abbr {
display: none; }
textarea, (), input[type="email"], input[type="number"], input[type="password"],
input[type="search"], input[type="tel"], input[type="text"], input[type="url"],
input[type="color"], input[type="date"], input[type="datetime"],
input[type="datetime-local"], input[type="month"], input[type="time"],
input[type="week"], select[multiple=multiple] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: border-color;
-moz-transition: border-color;
transition: border-color;
background-color: white;
border-radius: 0.1875em;
border: 1px solid #DDD;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
font-family: 'RobotoDraft', sans-serif;
font-size: 1em;
margin-bottom: 0.5em;
padding: 0.33333em 0.33333em;
width: 100%; }
textarea:hover, (), input[type="email"]:hover, input[type="number"]:hover,
input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover,
input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover,
input[type="date"]:hover, input[type="datetime"]:hover,
input[type="datetime-local"]:hover, input[type="month"]:hover,
input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover {
border-color: #c4c4c4; }
textarea:focus, (), input[type="email"]:focus, input[type="number"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus,
input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus,
input[type="date"]:focus, input[type="datetime"]:focus,
input[type="datetime-local"]:focus, input[type="month"]:focus,
input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
border-color: #477DCA;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(55, 112, 192, 0.7); }
textarea {
resize: vertical; }
input[type="search"] {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none; }
input[type="checkbox"], input[type="radio"] {
display: inline;
margin-right: 0.25em; }
input[type="file"] {
width: 100%; }
select {
width: auto;
max-width: 100%;
margin-bottom: 1em; }
button, input[type="submit"] {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
cursor: pointer;
user-select: none;
vertical-align: middle;
white-space: nowrap; }
table {
border-collapse: collapse;
margin: 0.5em 0;
table-layout: fixed;
width: 100%; }
th {
border-bottom: 1px solid #b7b7b7;
font-weight: bold;
padding: 0.5em 0;
text-align: left; }
td {
border-bottom: 1px solid #DDD;
padding: 0.5em 0; }
tr, td, th {
vertical-align: middle; }
ul, ol {
margin: 0;
padding: 0; }
{
list-style-type: disc;
margin-bottom: 0.5em;
padding-left: 1em; }
{
list-style-type: decimal;
margin-bottom: 0.5em;
padding-left: 1em; }
dl {
line-height: 1em;
margin-bottom: 0.5em; }
dl dt {
font-weight: bold;
margin-top: 0.5em; }
dl dd {
margin: 0; }
{
background: #FBE3E4;
color: #97161b;
font-weight: bold;
margin-bottom: 0.5em;
padding: 0.5em; }
{
color: #6a0f13; }
{
color: #110203; }
{
background: #FFF6BF;
color: #8c7800;
font-weight: bold;
margin-bottom: 0.5em;
padding: 0.5em; }
{
color: #594c00; }
{
color: black; }
{
background: #E6EFC2;
color: #56651a;
font-weight: bold;
margin-bottom: 0.5em;
padding: 0.5em; }
{
color: #333c10; }
{
color: black; }
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.color-palette {
color: rgba(255, 255, 255, 0.87);
font-size: 14px;
width: 1120px; }
@media screen and (max-width: 1159px)  {
.color-palette {
padding-right: 0;
width: 740px;   }
}
@media screen and (max-width: 767px)  {
.color-palette {
padding-right: 0;
width: 360px;   }
}
@media screen and (max-width: 360px)  {
.color-palette {
padding-right: 0;
width: 100%;   }
}
.color-palette .light {
color: rgba(255, 255, 255, 0.87); }
.color-palette .light-strong {
color: white; }
.color-palette .dark {
color: rgba(0, 0, 0, 0.87); }
.color-palette .dark-when-small {
color: rgba(0, 0, 0, 0.87); }
.color-palette .dark-strong {
color: black; }
.color-palette .color-group, .color-palette .color-group:last-child {
float: left;
margin-left: 20px;
padding-bottom: 20px;
width: 360px;
display: block; }
.color-palette .color-group:after, .color-palette .color-group:last-child:after {
content: "";
display: table;
clear: both; }
@media screen and (max-width: 767px)  {
.color-palette .color-group, .color-palette .color-group:last-child {
margin-left: 0;
padding-right: 0;
width: 360px;   }
}
@media screen and (max-width: 360px)  {
.color-palette .color-group, .color-palette .color-group:last-child {
padding-right: 0;
padding-left: 0;
width: 100%;   }
}
.color-palette .color-group:first-child,
.color-palette .color-group:nth-of-type(3n+1),
.color-palette .color-group:last-child:first-child,
.color-palette .color-group:last-child:nth-of-type(3n+1) {
clear: left;
margin-left: 0; }
@media screen and (max-width: 1159px)  {
.color-palette .color-group:first-child,
.color-palette .color-group:nth-of-type(3n+1),
.color-palette .color-group:last-child:first-child,
.color-palette .color-group:last-child:nth-of-type(3n+1) {
clear: none;
margin-left: 20px;   }
}
@media screen and (max-width: 767px)  {
.color-palette .color-group:first-child,
.color-palette .color-group:nth-of-type(3n+1),
.color-palette .color-group:last-child:first-child,
.color-palette .color-group:last-child:nth-of-type(3n+1) {
margin-left: 0;   }
}
@media screen and (max-width: 1159px)  {
.color-palette .color-group:nth-of-type(2n+1),
.color-palette .color-group:last-child:nth-of-type(2n+1) {
clear: left;
margin-left: 0;   }
}
.color-palette .color-group li, .color-palette .color-group:last-child li {
list-style-type: none; }
.color-palette .color-group li.color,
.color-palette .color-group:last-child li.color {
padding: 15px; }
.color-palette .color-group li.color .hex,
.color-palette .color-group:last-child li.color .hex {
float: right; }
.color-palette .color-group li.main-color .name,
.color-palette .color-group:last-child li.main-color .name {
display: block;
margin-bottom: 60px; }
              
            
!

JS

              
                
              
            
!
999px

Console