   <span style="color: #434f54;">// 10 bits per color, so R: bits 20-29</span>
        <span style="color: #00979c;">int</span> <span style="color: #000000;">g</span> <span style="color: #434f54;">=</span> <span style="color: #000000;">(</span><span style="color: #000000;">(</span><span style="color: #000000;">rgb</span> <span style="color: #434f54;">&gt;&gt;</span> <span style="color: #000000;">10</span><span style="color: #000000;">)</span> <span style="color: #434f54;">&amp;</span> <span style="color: #0