"n">g</span><span class="p">,</span> <span class="n">b</span><span class="p">)</span>  <span class="c1"># Output will be (0.0, 100.0, 50.0) for pure red</span>
</pre></div>
</div>
<p><strong>Parameters</strong>:</p>
<ul class="simple">
<li><dl class="simple">
<dt><strong>r</strong> (unsigned char):</dt><dd><p>The red component of the pixel, an integer (uint8) in the range [0, 255].</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><strong>g</strong> (unsigned char):</dt><dd><p>The green component