How to change fontawesome icon bg color

muzammil1984 profile image Muzammil Ahmed Khan ・1 min read

ok here is simple trick to change font awesome icon bg color let say we have youtube icon which looks like this as default:

alt text

ok but i want to change it to red like on you tube so the simple trick is that you add inline style in i element like this style="color:#FF0000;" and that's it it will change icon back-ground color to red like on you tube.

alt text


Editor guide