To do the job properly you need a primer and top coat, these are best applied with the cylinder off the engine and heated in an oven after painting to fully cure the paint.
There is also a Lycoming SB on the subject of the effect of paint on the nuts holding done the cylinder.