0
How to change text color according to background color?
Write a program to change the text's color to exactly the opposite of the background color dynamically. (Html, Css, Js)
2 Answers
+ 1
Its not 1 line of code. You can check links
https://css-tricks.com/reverse-text-color-mix-blend-mode/
https://stackoverflow.com/questions/16981763/invert-css-font-color-depending-on-background-color
0
Hm Tamim try the links