#418c47 Color
Color Codes | |
---|---|
Hex Code | #418c47 |
RGB Code | rgb(65, 140, 71) |
HSL Code | hsl(125, 37%, 40%) |
#418c47 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(65, 140, 71); }
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, 37%, 40%); }
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 #418c47
RGB Code | Hex Code | Preview |
---|---|---|
rgb(65, 140, 71, 10%) | #418c471a | |
rgb(65, 140, 71, 20%) | #418c4733 | |
rgb(65, 140, 71, 40%) | #418c474C | |
rgb(65, 140, 71, 60%) | #418c4799 | |
rgb(65, 140, 71, 80%) | #418c47CC | |
rgb(65, 140, 71, 100%) | #418c47FF |
Saturated and desaturated colors of #418c47
HSL Code | Preview |
---|---|
hsl(125, 10%, 40%) | |
hsl(125, 20%, 40%) | |
hsl(125, 40%, 40%) | |
hsl(125, 60%, 40%) | |
hsl(125, 80%, 40%) | |
hsl(125, 100%, 40%) |
#418c47 Color Usage In CSS
body { color: #418c47; } p { color: rgb(65, 140, 71); } header { border-bottom:1px solid #418c47; }