Change background colour via code

Is there a way to change the background of a strip to a different color same as that of the previous strip to achieve the effect of merging while scrolling a website?

Say for example:
$w(“#strip1”).background.src = $w(“#strip2”).background.src;

where src is not an image but color.

Hi Karuna,
Currently the only way to control the background for strips is using images.
You can submit a feature request here .
Best,
Majd