0
Gradient background for web page
I have some basic knowledge on JavaScript and I was wondering if there was any way to take a user input (hypothetically a hex value) from a webpages HTML/CSS and create two seperate variables with that value (to create two seperate color variations of the input; one lighter color, one darker color) and then place them back into the webpage HTML/CSS? Am I correct in believing that the most effective way to do this is through JavaScript, or is there an easier way without having to use JavaScript?
1 ответ
0
Yes this would require javascript.