You need to remove a card that chains cards of the same color so that, as a result, not even one chained card will appear.