Skip to content
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

Is it possible to exclude all shades of specific color? #103

Open
Kampii opened this issue Mar 9, 2018 · 5 comments
Open

Is it possible to exclude all shades of specific color? #103

Kampii opened this issue Mar 9, 2018 · 5 comments

Comments

@Kampii
Copy link

Kampii commented Mar 9, 2018

For example, I would like to exclude all shades of gray. Is there any way to hack this?

@oyeanuj
Copy link

oyeanuj commented May 19, 2018

@davidmerfield Also interested in this. The converse of this would be to pass in a base of colors (instead of one in hue right now).

@Xliff
Copy link
Contributor

Xliff commented Feb 13, 2019

Seems like the best way to accomplish this would be to have independent H, S and L ranges passed via the options.

In the case of excluding greyscale, you could provide a minimum S of 30 or so. 

@davidmerfield: Would you be interested in a PR?

@breznak
Copy link

breznak commented Feb 13, 2019

Probably duplicate of #58

@aervin
Copy link

aervin commented May 14, 2019

Perhaps this PR would allow for random generation of colorblind-safe colors, which is an issue I'm running into currently.

@davidmerfield
Copy link
Owner

I added some commentary to @Xliff's PR #119 which might be of interest to those subscribed to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants