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