I have a question similar to this post, but it's for a different library, colorlover. I would like to create a colorscale and then pull a specific color from that scale.
For example,
import colorlover as cl
color_scale = cl.scales['3']['div']['Spectral']
color_scale
>['rgb(252,141,89)', 'rgb(255,255,191)', 'rgb(153,213,148)']
Then, I'd like to find the color at 75% of the scale with something similar to
color_scale(0.75)
which would ideally return the rgb value for that color.
I'm also open to using any other package that will return a rgb value or a color format that is compatible with plotly.