Continuous color scale for bullet chart?

Is it possible to apply a continuous color scale to the “steps” of a bullet chart?

So instead of the discrete light grey/dark grey/white in this example - Bullet Charts | Python | Plotly - is it possible to have it looking something like the legend in this example - Heatmaps | Python | Plotly ?

TIA