Check out example codes for "change font awesome icon color". It will help you in understanding the concepts better.

Code Example 1

<a href="/users/edit"><i class="fa fa-cog" style="color:black !important;"></i> Edit profile</a>

Code Example 2

.fa {
    color: red !important;
}

Learn ReactJs, React Native from akashmittal.com