s-number">0</span>},
  {<span class="hljs-attr">color</span>:<span class="hljs-string">"#888888"</span>, <span class="hljs-attr">val</span>:<span class="hljs-number">0.5</span>},
  {<span class="hljs-attr">color</span>:<span class="hljs-string">"#FFFFFF"</span>, <span class="hljs-attr">val</span>:<span class="hljs-number">1</span>}
]</code></pre></div> </div><div class="qm-html-paragraph">The values don&#39;t have to start at 0 and end at 1, points in the domain that fall outside of the range will return th