#45ac4e Color
Color Codes | |
---|---|
Hex Code | #45ac4e |
RGB Code | rgb(69, 172, 78) |
HSL Code | hsl(125, 43%, 47%) |
#45ac4e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(69, 172, 78); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(125, 43%, 47%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #45ac4e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(69, 172, 78, 10%) | #45ac4e1a | |
rgb(69, 172, 78, 20%) | #45ac4e33 | |
rgb(69, 172, 78, 40%) | #45ac4e4C | |
rgb(69, 172, 78, 60%) | #45ac4e99 | |
rgb(69, 172, 78, 80%) | #45ac4eCC | |
rgb(69, 172, 78, 100%) | #45ac4eFF |
Saturated and desaturated colors of #45ac4e
HSL Code | Preview |
---|---|
hsl(125, 10%, 47%) | |
hsl(125, 20%, 47%) | |
hsl(125, 40%, 47%) | |
hsl(125, 60%, 47%) | |
hsl(125, 80%, 47%) | |
hsl(125, 100%, 47%) |
#45ac4e Color Usage In CSS
body { color: #45ac4e; } p { color: rgb(69, 172, 78); } header { border-bottom:1px solid #45ac4e; }