fix color number for 256-colors