Can you spray paint your rims black?

I want to have black rims, would it work/stay if I spray painted them black?
8 answers 8