Search Results
Font Awesome Diamond Icon - Shape
Fontawesome Version 4.X
diamond
<i class='fa fa-diamond'></i>
diamond
<i class='fa fa-diamond' style='color: white'></i>
diamond
<i class='fa fa-diamond' style='color: red'></i>
diamond
<i class='fa fa-diamond' style='color: blue'></i>
diamond
<i class='fa fa-diamond' style='color: #f3da35'></i>
Fontawesome Version 6.X
diamond
Web
<i class='fa-solid fa-diamond'></i>
React
<FontAwesomeIcon icon="fa-solid fa-diamond" />
Vue
<font-awesome-icon icon="fa-solid fa-diamond" />
diamond
Web
<i class='fa-solid fa-diamond' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-diamond" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-diamond" :style="{color: 'white'}" />
diamond
Web
<i class='fa-solid fa-diamond' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-diamond" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-diamond" :style="{color: 'red'}" />
diamond
Web
<i class='fa-solid fa-diamond' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-diamond" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-diamond" :style="{color: 'blue'}" />
diamond
Web
<i class='fa-solid fa-diamond' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-diamond" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-diamond" :style="{color: '#f3da35'}" />
How to add Font Awesome diamond Icon ?
Font Awesome Icon fa fa diamond 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.
HTML Code
Get complete html code for icon diamond
<!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-diamond'></i>
</body>
</html>
Tags
shape,style,diamond
Change Font Awesome Icon Diamond 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-diamond blue-color'></i>
<i class='fa fa-diamond green-color'></i>
<i class='fa fa-diamond teal-color'></i>
<i class='fa fa-diamond yellow-color'></i>
<i class='fa fa-diamond red-color'></i>
Output of the above example will be as below-
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
Diamond Icon Font Awesome - FAQs
⭐What is the Font Awesome Diamond Icon code?Icon Code is - fa fa-diamond.
⭐ What does the fa fa-diamond Icon mean?fa fa-diamond is the Icon code of Font Awesome Diamond.
⭐ Can we add fa fa-diamond Icon in different sizes?Yes, you can Icon of fa fa-diamond in various pixels.
⭐ How to add a Blue color Font Awesome Diamond Icon?Add the blue color Diamond icon of the font awesome by using code: fa fa-diamond style='color: blue;'.
⭐ How to make white color icon of a Font Awesome Diamond?To change the Diamond icon to white color use code: fa fa-diamond style='color: white;'.
Advertisements
Advertisements