On some of the chrome or polished bolts and nuts, a couple wraps of electrical tape, and a metric 6 point socket will work.... ie-if it's a 9/16" bolt head, two wraps of tape and a 15mm socket....

Best way is to not paint the bolts and nuts, use cad plated where strength is required, stainless steel on fenders and other non-critical components....