Fast color conversion from R5G5B5 to R8G8B8 pixel format using shifts R8 = (R5 << 3) | (R5 >> 2) G8 = (R5 << 3) | (R5 >> 2) B8 = (R5 << 3) | (R5 >> 2) This looks to assign the same value to R8, G8 and B8