Skip to content
🎨 Get perfect Material Design color palettes from any hex color
HTML CSS
Branch: master
Clone or download
Latest commit 8549081 Nov 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Nov 12, 2019
css small content tweaks Nov 13, 2019
images adds meta info and images Jan 14, 2019
js adds carbon ads and general improvements Nov 12, 2019
404.html small content tweaks Nov 13, 2019
CNAME Create CNAME Jan 9, 2019
README.md updates README Nov 12, 2019
android-chrome-192x192.png
android-chrome-512x512.png improves favicons and adds sitemap Jan 12, 2019
apple-touch-icon.png improves favicons and adds sitemap Jan 12, 2019
browserconfig.xml initial commit Jan 9, 2019
favicon-16x16.png
favicon-32x32.png improves favicons and adds sitemap Jan 12, 2019
favicon.ico improves favicons and adds sitemap Jan 12, 2019
index.html small content tweaks Nov 13, 2019
mstile-150x150.png
safari-pinned-tab.svg improves favicons and adds sitemap Jan 12, 2019
site.webmanifest improves favicons and adds sitemap Jan 12, 2019
sitemap.xml

README.md

Β Material Design Palette Generator

What is this?

This is a (slightly modified) clone of the official Material Design palette generator. It does a couple things:

  1. Builds you a full color palette from a given hex color
  2. Provides you with complementary colors based off your primary color

Both are based on Material Design standards, and use Google's algorithm for color derivation.

Why is this?

Google's official palette generator is embedded and buried deep within the Material docs. Since it's an inline tool, it's also hidden from search engines, making it difficult to discover or bookmark.

To make it a little easier to access and to preserve it for my own future use, I grabbed the obfuscated code (the original scripts do not appear to be public anywhere) and added some small interface improvements. I did not change the way colors are derived.

The color output matches that produced in the Material Theme Editor for Sketch, so it's a good companion for that.

Credits

  • Most of this is copyright Google Inc. If you do anything with their code, please maintain the licenses they indicate at the top of the large files.
  • You can use any of our modifications without credit, except...
  • Favicon image courtesy of Roundicons and pulled from flaticon.com. If you reuse it, please continue to credit the creator.

Tech

It's just HTML, CSS, and JavaScript. Run it locally on your favorite server.

You can’t perform that action at this time.