Step 1
Load up your car image and select the "pen tool", draw around your car but not selecting your windows, grills, lights etc... so basically your just left with a shell. "copy and paste" to a new layer.
Step 2
With your newly pasted layer selected goto "image > adjustments > desaturate" then goto "image > adjustments > variations" use the settings below.
Step 3
To make a black car click "darker" about 2 times also marked in red on the image above. (to make your car even darker just click some more times) should have something like below.
As you can see it doesn't look very good so if we goto "image > adjustments > brightness/contrast" and adjust the lightness and contrast, the more you up your contrast the more shiny your paint becomes.
Step 4
To make a white car open up your variations panel again but click original in the top right corner to reset your layer as it was, then click "lighter" you only need to click this once.
Now goto "image > adjustments > brightness/contrast" and increase the brightness to about +20, you shouldn't need to touch the contrast unless you want to make it more shiney.
That's it.