Millions of people wear hats to protect themselves from the sun every day. From the…