Rub rail

Any tips on keeping the black rub rail on side of boat looking black? Tried majic marker but a couple tie ups at different docks and it's looking all scruffy again.