Move bg and fg to byte's