 According to some tales, the houses were painted in the various colors such that the intoxicated sailors coming in from port could remember which houses they were to bunk in.In other versions, the colors of the buildings date from their use as stores; the colors were used so that owners could tell illiterate slaves which building to go to for shopping.Rainbow Row is composed of thirteen different buildings, most of which share party walls with their neighboring houses.