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

Add tint and shade functions #235

Open
tremby opened this issue Nov 30, 2019 · 0 comments · May be fixed by #246
Open

Add tint and shade functions #235

tremby opened this issue Nov 30, 2019 · 0 comments · May be fixed by #246

Comments

@tremby
Copy link

tremby commented Nov 30, 2019

Would you accept a pull request adding tint and shade functions? These would mix the colour with white and black respectively, at a given percentage.

tremby added a commit to tremby/chroma.js that referenced this issue Oct 19, 2020
These produce tints and shades of the color, i.e. mix with either white
or black at a given ratio.

See https://en.wikipedia.org/wiki/Tints_and_shades

Closes gka#235
@tremby tremby linked a pull request Oct 19, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant