it is a form of
bleaching and is very common for any coral that goes though something like this (assuming they can live through it)
now that you have to coral back out in the light it should regain its color. it wont be right away, but in time it will