-
Notifications
You must be signed in to change notification settings - Fork 57
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
colored text #69
Comments
Take the dominant color at the edges of the images. For the text color, use the dominant color of the entire image. You may need to select a color for the color text to have the desired contrast. |
This article might also help: https://css-tricks.com/switch-font-color-for-different-backgrounds-with-css/ |
Also FYI, alternative packages already have functions that pick good-looking text colors:
I think my lazy ass is gonna use |
hello, I want to make like that, but it's not possible with the library
The text was updated successfully, but these errors were encountered: