Black Lives Matter. Please consider donating to Black Girls Code today.

Adding Shapes to the Range Slider

Is it possible to add a shape to the range slider. In this tutorial in the range-slider-with-vertically-stacked-subplots section, there is a blue and green shape added to the graph to highlight different regions. Is there a way to reflect these regions in the range slider?

Here is the plot from the tutorial. I am hoping there is a way for the range slider to have both the blue and green sections in it as well?