 undefined value</span></div>
<div class="line"><a class="code hl_struct" href="structtgx_1_1_r_g_b565.html">tgx::RGB565</a> color2(8, 32, 16); <span class="comment">// create a 16 bits color and set the color channels: 8 red (5bits), 32 green (6bits), 16 blue (5bits)</span></div>
<div class="line"><a class="code hl_struct" href="structtgx_1_1_r_g_b565.html">tgx::RGB565</a> color3(0.25f, 0.5f, 0.5f); <span class="comment">// the same as color2 but defined with floats in [0.0f,1.0f] (works for any color type