title: Access Color from Plotly Color Scale
body: <p>Is there a way in Plotly to access colormap colours at any value along its range?</p>
  <p>I know I can access the defining colours for a colourscale from</p>
  <pre class="lang-py prettyprint-override"><code>plotly.colors.PLOTLY_SCALES[&quot;Viridis&quot;]
  </code></pre>
  <p>but I am unable to find how to access intermediate / interpolated values.</p>
  <p>The equivalent in Matplotlib is shown <a href="https://stackoverflow.com/questions/25408393/getting-individual-colors-from-a-color-map-in-matplotlib">in this question</a>.  There is also <a href="https://stackoverflow.com/questions/56040593/getting-individual-colors-from-a-color-scale-from-colorlover-in-python">another question</a> that address a similar question from the <code>colorlover</code> library, but neither offers a nice solution.</p>