Why do basketball teams wear dark jerseys to away games and light jerseys at home games and what year did this start?

Well, if the reason is the same as the jersey situation for hockey, I know that the teams would wear dark jerseys while they were away because they didn't always have laundry facilities available to them when they were on a road trip. Since dirt shows up less on dark jerseys, a dark jersey would "last" a lot longer than a light one would.