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

The brightness and saturation generators duplicate values when limit reached #2

Open
Crevitus opened this issue Mar 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@Crevitus
Copy link
Owner

Crevitus commented Mar 4, 2019

#Issue
Currently, the brightness and saturation generator methods duplicate palette colours when the limit is reached (either 0% or 100%), causing the same limit colour to be returned possibly multiple times.

#Possible Solution

Reduce the range of possible values so that the adjustment intervals become smaller, producing the specified palette with smaller intervals, no longer hitting the limit more than once.

@Crevitus Crevitus added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant