how to change fontawesome color in html code example
Example 1: css change font awesome icon color
<a href="/users/edit"><i class="fa fa-cog" style="color:black !important;"></i> Edit profile</a>
Example 2: css change font awesome icon color
.<fa-icon-class> { color: red !important; }