What am I?

I am clean when I’m black dirty when I’m white.