Corals found at shallow depths ('sun' corals, if you will) are potentially adapted to, among other wavelengths, moderate amounts of radiation in the red portion of the spectrum, while deeper corals ('shade' corals) are likely adapted to an environment where green/blue wavelengths predominate and red light is greatly reduced.