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

Measure population with a tolerance #13

Open
sydney-d opened this issue Jan 22, 2020 · 0 comments
Open

Measure population with a tolerance #13

sydney-d opened this issue Jan 22, 2020 · 0 comments

Comments

@sydney-d
Copy link

Hello,

I'd like to get the population of the different swatches but with a tolerance, for example :
population of the vibrant swatch +/- 10% on H, S, and L.

I understand that at this point, I have all the image's colors with their populations:
https://github.com/marijnvdwerf/material-palette-php/blob/master/src/PaletteGenerator.php#L46

But then I don't understand what's going on witht the VBox class, what does it do ?

Any hint on how to achieve this ?

Thanks

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

No branches or pull requests

1 participant