Pull me out and and scratch my head, I once was red now black instead. What am I ?

Answer

A match