I want to set the background image based on user selection.
Scenario:
User selects a color among color options. Based on this the background image must be changed like theme.
For example, if user selects red color background image should be image_red.png. If user changes the color to violet it should be image_violet.png.
There are multiple images like this the color of which should change according to user selection. So is there a way of setting it in css like background-image: url(../image_colorparameter.png)