Wimbledon introduced the all-white dress code in the early 20th century to prevent sweat stains on coloured clothing. It is prohibited for players to wear off-white or cream-coloured uniforms.