Font Awesome 6 Icon

Font Awesome 6 Icon refers to a number that is greater than five. This font awesome icon is also known as "fa-6" or fa fa Six".

Fontawesome Version 6.X

6

Web

<i class='fa-solid fa-6'></i>

React

<FontAwesomeIcon icon="fa-solid fa-6" />

Vue

<font-awesome-icon icon="fa-solid fa-6" />

6

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-6" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-6" :style="{color: 'white'}" />

6

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-6" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-6" :style="{color: 'red'}" />

6

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-6" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-6" :style="{color: 'blue'}" />

6

Web

<i class='fa-solid fa-6' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-6" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-6" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome 6 Icon ?

Font Awesome Icon fa solid fa 6 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-solid fa-6'></i>
Icon Code -
fa-solid fa-6

HTML Code

Get complete html code for icon 6

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />
                       </head>
                        <body>
                        <i class='fa-solid fa-6'></i>
                        </body>
                    </html>                    

Tags

hexad.,hexagon.,hexagram.,semester.,sextet.,sextuplet.

Change Font Awesome Icon 6 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-solid fa-6 blue-color'></i> <i class='fa-solid fa-6 green-color'></i> <i class='fa-solid fa-6 teal-color'></i> <i class='fa-solid fa-6 yellow-color'></i> <i class='fa-solid fa-6 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/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />            
            
Related Icons
 

 

6 Icon Font Awesome - FAQs

⭐What is the Font Awesome 6 Icon code?

Icon Code is - fa-solid fa-6.

⭐ What does the fa-solid fa-6 Icon mean?

fa-solid fa-6 is the Icon code of Font Awesome 6.

⭐ Can we add fa-solid fa-6 Icon in different sizes?

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?