Returns a CSS linear-gradient with stops corresponding to the given list of colours.
linear-gradient
colours
element.style.background = Colour.cssLinearGradient(['red','green','blue']); Copy
element.style.background = Colour.cssLinearGradient(['red','green','blue']);
Returns a CSS
linear-gradient
with stops corresponding to the given list ofcolours
.