style for links and h1

I have styled my links to be one color, but I want my titles to be another color. Unfortunately some titles are also links. Is there a way to override the default link color when the link is an h1?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/2/feed