<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" style="width: 1em; height: 1em; vertical-align: -0.125em;">To make the svg inherit its parent's colors, set the fill attribute on the path element to currentColor.
Read more on Font Awesome.