Search Results
Font Awesome Moon Icon (Night, Orbit, Satellite)
Fontawesome Version 5.X
moon
<i class='fas fa-moon'></i>
moon
<i class='fas fa-moon' style='color: white'></i>
moon
<i class='fas fa-moon' style='color: red'></i>
moon
<i class='fas fa-moon' style='color: blue'></i>
moon
<i class='fas fa-moon' style='color: #f3da35'></i>
Fontawesome Version 6.X
moon
Web
<i class='fa-solid fa-moon'></i>
React
<FontAwesomeIcon icon="fa-solid fa-moon" />
Vue
<font-awesome-icon icon="fa-solid fa-moon" />
moon
Web
<i class='fa-solid fa-moon' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-moon" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-moon" :style="{color: 'white'}" />
moon
Web
<i class='fa-solid fa-moon' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-moon" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-moon" :style="{color: 'red'}" />
moon
Web
<i class='fa-solid fa-moon' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-moon" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-moon" :style="{color: 'blue'}" />
moon
Web
<i class='fa-solid fa-moon' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-moon" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-moon" :style="{color: '#f3da35'}" />
FA Regular moon Version 6.X
How to add Font Awesome moon Icon ?
Font Awesome Icon fas fa moon 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 moon
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
</head>
<body>
<i class='fas fa-moon'></i>
</body>
</html>
Tags
weather,night,Orbit,Satellite,Space
Change Font Awesome Icon Moon 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='fas fa-moon blue-color'></i>
<i class='fas fa-moon green-color'></i>
<i class='fas fa-moon teal-color'></i>
<i class='fas fa-moon yellow-color'></i>
<i class='fas fa-moon red-color'></i>
Output of the above example will be as below-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
Advertisements
Advertisements