How to do trim that has black recesses

I'd thought about it but was wondering how its done originally. There's no way the reproductions are done by hand. I was wondering if where the black is recessed that the whole thing isn't painted and then the ridges buffed.

Done at the factory? They had pre-cut masks, probably made out of metal, that they just laid on the part, and then spray painted it. You'll note that the factory paint on these parts has rather "soft" edges instead of a hard tape masked line. Nearly impossible to duplicate.