Skip to content
Proyek

edelstone/material-palette-generator

Lihat di GitHub

Tentang

🎨 Perfect Material Design palettes from any color input.

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Material Design Palette Generator

Screenshot of app home page Screenshot of app home page

What is this?

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

  1. Builds you a full color palette from a given hex color
  2. Provides you with complementary colors based off your primary color
  3. Allows you to export palettes as CSS variables, JSON, or hex (with or without #)

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.

Support this project

Feedback and contributing

If you notice a problem or want a feature added please file an issue on GitHub or just email me the details.

If you’d like to contribute, comment on an open issue or open a new one describing your approach. Once aligned, submit a PR.

Credits

  • Hi, I’m Michael Edelstone. You might also be interested in the Tint & Shade Generator, another useful color tool I made.
  • 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 my modifications without credit, except...
  • Favicon image courtesy of Roundicons and pulled from flaticon.com. If you reuse it, please continue to credit the creator.

Many thanks to Ziya Fenn and Mateusz Skórka for their valuable contributions to this project.

Jelajahi proyek terkait

Memuat…