The absolute WORST way of doing this is to get a body painted white and stick some Electrician Blac Tape cutted in squares.
Don't laugh, I bought a P-BAss that had a Pickguard made this way.
Although, come to think of it that's how Eddie VanHalen decored his geetars.
Otherwise, you'll need to have a good base coat, then a white paint. and afterwards, you'll have to use a *lot* of masking tape, spray black, waith for it to dry, then use a lot of masking tape for the second part and paint black.
As showed on the video above, y'oull also need to cover the sides as it'll be difficult to align everything properly.
So you're talking about a rather long process. You might find some 3M covering that might do the job, although not too easy to apply on the curved parts.