          <span class="c1"># convert rgb to lms to xyz:</span>
            <span class="n">lms</span> <span class="o">=</span> <span class="n">rgb</span><span class="o">/</span><span class="n">k</span><span class="o">*</span><span class="n">_CMF</span><span class="p">[</span><span class="n">cieobs</span><span class="p">][</span><span class="s1">&#39;K&#39;</span><span class="p">]</span>  
            <span class="n">xyz</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span c