Font Awesome 2 Icon (Number, Two, Numeral)

The Font Awesome 2 icons is used to indicate Number, Two, Numeral . This icon avaiable in version 6 that can be access by class name : fa-solid fa-2". you can edit their color, size, and add animations using the Try It editor.

Fontawesome Version 6.X

2

Web

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

React

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

Vue

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

2

Web

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

React

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

Vue

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

2

Web

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

React

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

Vue

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

2

Web

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

React

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

Vue

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

2

Web

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

React

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

Vue

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

How to add Font Awesome 2 Icon ?

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

HTML Code

Get complete html code for icon 2

                    
                    <!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-2'></i>
                        </body>
                    </html>                    

Tags

number,two,numeral,pair,duo

Change Font Awesome Icon 2 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-2 blue-color'></i> <i class='fa-solid fa-2 green-color'></i> <i class='fa-solid fa-2 teal-color'></i> <i class='fa-solid fa-2 yellow-color'></i> <i class='fa-solid fa-2 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

2 Icon Font Awesome - FAQs

⭐What is the Font Awesome 2 Icon code?

Icon Code is - fa-solid fa-2.

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

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

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?