有没有什么办法可以在这里使用co1那几个函数,或者说怎么样可以使用js修改background:linear-gradient里的颜色值呢
c001.style.background="linear-gradient(to right,"+co1+","+co2+","+co3+")";