While you can paint a vinyl fence, it's not designed to be painted, so you'll need to regularly reapply a coat, which defeats the point of using vinyl panels. This means that you're usually stuck ...
However, you can stain or paint the panels to change their look and hide ... it's worth considering an aluminum or a vinyl fence, either of which could last a staggering 50 years.