-
Notifications
You must be signed in to change notification settings - Fork 63
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
Module for generating nice colors/color schemes #77
Comments
This might be helpful: http://hackage.haskell.org/package/adobe%2Dswatch%2Dexchange |
Another idea (from ClaudiusMaximus) is to pick successive points in a color wheel by rotating by the golden angle each time. |
I've some thoughts on this i'll start experimenting with / borrowing from d3 and other communities later this month. Happy to try and make it diagrams generic rather than specific to my use cases |
More potentially relevant links:
|
I issued a pull request for a module palettes that can serve as a start: #139. |
@jeffreyrosenbluth has uploaded palette to Hackage. I think it fulfills most of the goals of this Issue. |
I often find myself at a loss as to how to pick some nice colors for my diagrams. I end up just using the color names I know (red, blue, green, ...) but this means I often run out of colors, and those colors are not necessarily the nicest for whatever it is I want to do.
Someone who knows a thing or two about design, color theory, etc. as well as how to use the
colour
library (or just someone willing to learn the foregoing!) should create a module with some functions for generating colors/color schemes. Ideas include:blend k
for values of k between 0 and 1 corresponds to, but it seems like it sometimes doesn't look like what I expect.)I'm sure there are other cool things that could be provided as well, these are just suggestions.
The text was updated successfully, but these errors were encountered: