Passengers and motorists in areas covered by red and amber weather warnings have been told to avoid travel ‘unless absolutely essential’.