Corals get their colours from zooxanthellae, microscopic algae living in their tissues. These algae perform photosynthesis, producing oxygen and helping the coral to remove wastes. Different types of zooxanthellae and varying levels of light influence the colour spectrum of corals.