, irrespective of the channel color depths) </span></div>
<div class="line"> </div>
<div class="line">uint16_t c2 = (uint16_t)color3; <span class="comment">// conversion to uint16_t. </span></div>
<div class="line"><a class="code hl_struct" href="structtgx_1_1_r_g_b565.html">tgx::RGB565</a> color4 = c2; <span class="comment">// create 16 bit color from uint16_t.</span></div>
<div class="line"> </div>
<div class="line">int8_t R = color4.<a class="code hl_variable" href="structtgx_1_1_r_g_b565.html#ad4158f42b