Im trying to set my background colour based off a formula and HSLA but i want to use it as a Linear gradient.This is what i have, but returns no colour
document.body.style.backgroundColor = `linear-gradient(179.31deg, 180,50%,${lightness}%) 9.28%, #F4AC4E 167.45%)`;
Would be easier, and i mean soooo much easier, if you used css gradient instead of javascript gradient tools or whatever.
such as something cool like this
You can use this website for all your gradient needs