Silicone will set/seal very well. You will need a high grade silicone. The easiest rating to find on a tube of silicone is 100%, the next best rating is the years it's supposed to last. 30 year silicone is good stuff, but can't be painted over well.
Silicone latex... this will need to be painted. If you're going to paint it anyway, use the silicone latex and paint it soon.
Welcome to the forum!