Most cotton batting is a cotton/poly blend, and polyester does not take dye. Ghostrider is right, it would end up gray. Not to mention the probability of the dye bleeding for several washes!
I'm with the rest of the crowd - buy some black batting from an online source.