Yes, if the last character in battle is getting removed from battle, than the player who controls that character get's special initiative to play a card to negate, or stop the effect of that card, and sign of the rainbow would negate and discard the last evil enhancement that was played, and assuming that it was to remove your last hero, it would work.