Can I change the color of Font Awesome’s icon color?

I have to wrap my icon within an <a> tag for some reason.
Is there any possible way to change the color of a font-awesome icon to black?
or is it impossible as long as it wrapped within an <a> tag? Font awesome is supposed to be font not image, right?

enter image description here

<a href="https://stackoverflow.com/users/edit"><i class="icon-cog"></i> Edit profile</a>

21 Answers
21

Leave a Comment