Roof paint is designed for all weather protection.
Painting a roof can vary slightly depending on the material your roof is but there is one thing they all have in common: they must be cleaned before you apply any paint.
Remember when choosing your colour all lighting (including natural sunlight and artificial light) affects the colour of your paint as do shadows in a room.