ode-highlight-codeblock language-js"><pre><code class="qm-code-font">hx.interpolate(<span class="hljs-string">"rgba(255,0,0,1)"</span>, <span class="hljs-string">"rgba(0,0,255,1)"</span>)(<span class="hljs-number">0.5</span>) <span class="hljs-comment">// Returns rgba(128,0,128,1)"</span>
hx.interpolate(<span class="hljs-string">"Number 1: 500px;"</span>, <span class="hljs-string">"Number 1: 200px;"</span>)(<span class="hljs-number">0.5</span>)<span class="hljs-comment">// Returns "Number 1: 350px;"</span><