By the end of the 19th century , baseball teams started wearing two different uniforms . By the end of the 19th century , teams began the practice of wearing one of two different uniforms , one when they played in their own baseball stadium and a different one when they played on the road .