material-palette-generator icon indicating copy to clipboard operation
material-palette-generator copied to clipboard

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

Open PicarWang opened this issue 4 years ago • 2 comments

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

PicarWang avatar May 19 '21 01:05 PicarWang

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.

edelstone avatar May 19 '21 17:05 edelstone

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: https://github.com/vkottler/svgen/issues/6).

vkottler avatar Oct 31 '21 05:10 vkottler