The skeleton is white (calcium carbonate). The pigments come from the coral polyps and the zooanthellae in them.