When the water gets to warm, the corals get stressed which cause the algae that live within them to leave, and they are what give them the colours. This process is called bleaching..
Article Link: www.newscientist.com
Video Link: www.youtube.com