Im sure its dyed too. It will not harm anything else in the tank directly. The coral is less likely to survive than if it had been left natural, so if it dies youll obviously want to get it out of the tank- the dead coral would be harmful to your other stuff, but the dye itself will not be.