changing color of radial gradient using javascript : How can i change the red circle created  to green circle using a javascript?


#redcircle{

background-image:
radial-gradient(
circle,
red, red 40px, transparent 20px

);

