Font Awesome Battery Icon (Charge, Energy, Power)

The Font Awesome Battery Icon is used indicate Charge, Energy, Power.This icon has avaiable in version 4 that can be access by class name : fa fa-battery. It use represents to an electrical power battery is supplying power, and is also known as "fa- fa Battery. You want edit color, size, style and animation use the try it editor.

Fontawesome Version 4.X

battery

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

battery

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

battery

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

battery

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

battery

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

How to add Font Awesome battery Icon ?

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

HTML Code

Get complete html code for icon battery

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

Tags

Charge,energy,power

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

Advertisements



Advertisements



Looking For More Icons?