-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Algorithm deviation - cannot reproduce MD palette color? #94
Comments
Hey @rosskevin . This is a known "issue". A full discussion about this can be found here: I have since implemented two algorithms for you to use- you can try out either using the settings panel. Regardless of the color generation algorithm chosen, the palette will not always match the material design colors chosen. You're exactly right about why- this is because the material design palettes are chosen by hand and are not a consistent progression. That being said, if you're looking to use a default, official material design color palette you can use the Import button in the nav. Clicking it lists out all of the stock AngularJS Material Design palettes and allows you to import any of them directly into your theme. For example, clicking import shows you this list: If you then click "Blue" you will see the colors match up with your screenshot exactly: I am always open to improving the color generation technique- but knowing these are hand-picked palettes makes it very difficult to replicate. Please see the github issue linked to above to see an example of me replicating the progression of one palette exactly, while the same progression breaks other palettes. Thank you! |
Thanks @mbitson, we are using custom colors but I figured I would ask the question based on the standard palette. I'll try out the other algorithm on our custom color to see how it changes. |
No problem, @rosskevin - and just a note, I can always add more color generation algorithms if there is something specific about your custom palette you don't like? I'm not entirely satisfied with either current algorithm, either, so having a particular problem to try and solve with a third algorithm may be what I need to try again. Is the issue you're having with the A* series colors being too bright? Is there a different issue with the other algorithm option? Thank you! |
The I don't have any algorithmic suggestions, but perhaps a feature suggestion: If a user wants to darken the |
As an update for this issue, another color generation algorithm has been added with: These options were focused around the A* series of colors, as this issue points out, also. We will continue to add options until we have a definitive method. Please open a new issue if you have any specifics on how our color generation could be improved. Thank you everyone! |
We are trying to tune our colors, and our designer pointed out that the
A
range of colors generated is much lighter than the standard palette counterpart.I went to the online tool and generated the
blue
range:http://mcg.mbitson.com/#!?mdblue=%232196f3
Based on
2196F3
:https://material.io/guidelines/style/color.html#color-color-palette
Upon comparison, it looks like every color is at least slightly off (
A*
more than others) except the given 500 color:Is this a known issue? Are the MD colors hand selected vs generated?
The text was updated successfully, but these errors were encountered: