I tried the code but it doesn’t work, it says error when I paste it in.
Curious. Please develop the css in stages, at which step does it say error ?
1)
a {
color #333333;
}
2)
.entry-title a {
color #333333;
}
3)
h2.entry-title a {
color #333333;
}
4)
h2 a {
color #333333;
}
5)
.page-header h2.entry-title a {
color #333333;
}
Also, where do I find the selector variants.
Of course the whole story (and the rest of css) is here:
https://www.w3schools.com/css
In your case it could be used like this:
.page-header h2.entry-title a:link {
color #blue;
}
.page-header h2.entry-title a:visited {
color #red;
}
.page-header h2.entry-title a:hover {
color #green;
}
.page-header h2.entry-title a:active {
color #808080;
}