How to Change the Color of an Anchor Tag Using CSS

In this tutorial, we go over how to change the color of an anchor tag using CSS.
When you create an anchor tag in HTML, which is a tag which directs a user to another web page, by default, the tag comes in a blue color.
Below is an example of a common anchor tag you'd created which comes with this default color:
Though this colors appear by default, it can be changed to any color which we want by using CSS.
To change this color to another, type in the following lines of code into the CSS page that your page links to:
We added the color #000 which is black. However, you can choose whatever color you want. For this example, again, we chose to make the anchor tag link black instead of the default blue color.
With this line of coded added to your CSS page, the anchor tag above will now appear as: