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?

9th Feb 2019, 5:29 AM
Dee Whitefield
Dee Whitefield - avatar
1 Odpowiedź
0
Yes this would require javascript.
9th Feb 2019, 6:04 AM
Random
Random - avatar