v>
<div class="line"><span class="comment">// create the pixel reference at bit offset 2</span></div>
<div class="line"><span class="comment">// (i.e. red = [2], green = [3,4], blue = [5,6,7] bits)</span></div>
<div class="line">rgb123_ref_t ref(&amp;data, 2);</div>
<div class="line"><a class="code" href="group___color_base_algorithm_color.html#gab2d1dda637cb2b7c32cc87f199ea1dc0">get_color</a>(ref, red_t()) = 1;</div>
<div class="line">assert(data == 0x04);</div>
<div class="line"><a class="code" href="grou