Beginning with the 2014 season, MLB pitchers are permitted to wear a special reinforced cap to protect their heads from line drives [REF].
Athletes in other sports wear caps with their team's logo and colors as "sideline" caps; both types are also sold as authentic team merchandise in retail stores.