The white towns in Spain are white due to the tradition of using a lime-based whitewash to cover the walls of buildings in order to reflect the sunlight and keep the interiors cool. This tradition has been around since Moorish times and is still used today.