text:  The coral polyps secrete calcium carbonate to build protective shells or exoskeletons around their soft bodies. These skeletons are the building blocks of the reef. Calcium carbonate is white, yet coral reefs are living rainbows because corals get their colors from pigments associated with the different kinds of algae that live inside them.