Font Awesome Cog Icon

Font Awesome Cog Icon refers to a series of teeth on the side of one wheel that fit into the teeth on the next wheel and cause it to move. This font awesome icon is also known as "fa-Cog" or "fa fa Cog".

Fontawesome Version 4.X

cog

<i class='fa fa-cog'></i>

cog

<i class='fa fa-cog' style='color: white'></i>

cog

<i class='fa fa-cog' style='color: red'></i>

cog

<i class='fa fa-cog' style='color: blue'></i>

cog

<i class='fa fa-cog' style='color: #f3da35'></i>
Try it Yourself


Fontawesome Version 5.X

cog

<i class='fas fa-cog'></i>

cog

<i class='fas fa-cog' style='color: white'></i>

cog

<i class='fas fa-cog' style='color: red'></i>

cog

<i class='fas fa-cog' style='color: blue'></i>

cog

<i class='fas fa-cog' style='color: #f3da35'></i>
Try it Yourself

How to add Font Awesome cog Icon ?

Font Awesome Icon fa fa cog Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-cog'></i>
Icon Code -
fa fa-cog

HTML Code

Get complete html code for icon cog

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-cog'></i>
                        </body>
                    </html>                    

Tags

prong.,cogwheel.,differential.,fang.,gear.,pinion.,rack.,ratchet.

Change Font Awesome Icon Cog Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<i class='fa fa-cog blue-color'></i> <i class='fa fa-cog green-color'></i> <i class='fa fa-cog teal-color'></i> <i class='fa fa-cog yellow-color'></i> <i class='fa fa-cog red-color'></i>

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Cog Icon Font Awesome - FAQs

⭐What is the Font Awesome Cog Icon code?

Icon Code is - fa fa-cog.

⭐ What does the fa fa-cog Icon mean?

fa fa-cog is the Icon code of Font Awesome Cog.

⭐ Can we add fa fa-cog Icon in different sizes?

Yes, you can Icon of fa fa-cog in various pixels.

⭐ How to add a Blue color Font Awesome Cog Icon?

Add the blue color Cog icon of the font awesome by using code: fa fa-cog style='color: blue;'.

⭐ How to make white color icon of a Font Awesome Cog?

To change the Cog icon to white color use code: fa fa-cog style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?