betterimplementation for links colors