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

[Hook] Determine if a color is bright or dark by its background #31

Open
StefanyFernandez opened this issue Feb 6, 2020 · 0 comments
Open
Assignees
Labels

Comments

@StefanyFernandez
Copy link

It could be great have a function / hook that can automatically change the color of an element, in this case a text, by the color of its background.

Great for when a user it's allow to custom the color of an element.

https://awik.io/determine-color-bright-dark-using-javascript/

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

No branches or pull requests

2 participants