Painting bolt heads

There are the plastic lined sockets too

On my customers' coated hardware, I suggest using an oversized socket with a layer or two of cured plastic dip on it to protect the finish. When you're done with the installation you can just peel it off your socket. (On screws or Allen heads use an undersized one.)