edelstone / material-palette-generator

🎨 Get perfect Material Design color palettes from any hex color.

Home Page:https://materialpalettes.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sometimes, the color code that I input is not consistent with the color code that generated the display

PicarWang opened this issue · comments

For example, when I input "d21f3e", the color value displayed in the palette is "d21f3d"

Interesting, I see that now. This is Google's official color system and I'm really just borrowing their giant Javascript file in order to make this site, so I'm hesitant to try to make changes to that. But I will leave this issue open in case others want to comment.

Yeah @PicarWang that's the same behavior if you use the Google-hosted app, I've been trying to pick apart the algorithm(s) in general to understand what they're doing. Thanks to this project I grabbed the source and un-minified it, hoping to get some Python that can generate color palettes in the "Material Design" style (talking to myself here: vkottler/svgen#6).