Are you sure they are painted? Some primers are grey in colour. It may be that somebody primed the pipes but did not finish the paint job.
If you want to return the pipes to their natural colour a rub with wire wool should return them to their natural state.
The copper pipes will quickly...