Paint on stainless?

I used some regualr old black rostoleum spray can on a set of my old dart hub caps and they lasted along time only some minor chips from the rocks driving around evreyday, I washed them with soap and water and air dryed them shook the can and layed out some paint