change font awesome icon color

CSS
.fa {
    color: red !important;
}<a href="/users/edit"><i class="fa fa-cog" style="color:black !important;"></i> Edit profile</a>
Source

Also in CSS: