SHIFT_UNTIL
SHIFT_UNTIL(levels[i][channel].red, 15, low_color.red);
SHIFT_UNTIL(levels[i][channel].blue, 15, low_color.blue);
SHIFT_UNTIL(levels[i][channel].red, 7, low_color.red);
SHIFT_UNTIL(levels[i][channel].blue, 7, low_color.blue);
SHIFT_UNTIL(levels[i][channel].green, 14, low_color.green);
SHIFT_UNTIL(levels[i][channel].red, 15, back_color.red);
SHIFT_UNTIL(levels[i][channel].blue, 15, back_color.blue);
SHIFT_UNTIL(levels[i][channel].red, 7, back_color.red);
SHIFT_UNTIL(levels[i][channel].blue, 7, back_color.blue);
SHIFT_UNTIL(levels[i][channel].green, 14,