#5d9337 Color
Color Codes | |
---|---|
Hex Code | #5d9337 |
RGB Code | rgb(93, 147, 55) |
HSL Code | hsl(95, 46%, 40%) |
#5d9337 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 147, 55); }
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(95, 46%, 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 #5d9337
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 147, 55, 10%) | #5d93371a | |
rgb(93, 147, 55, 20%) | #5d933733 | |
rgb(93, 147, 55, 40%) | #5d93374C | |
rgb(93, 147, 55, 60%) | #5d933799 | |
rgb(93, 147, 55, 80%) | #5d9337CC | |
rgb(93, 147, 55, 100%) | #5d9337FF |
Saturated and desaturated colors of #5d9337
HSL Code | Preview |
---|---|
hsl(95, 10%, 40%) | |
hsl(95, 20%, 40%) | |
hsl(95, 40%, 40%) | |
hsl(95, 60%, 40%) | |
hsl(95, 80%, 40%) | |
hsl(95, 100%, 40%) |
#5d9337 Color Usage In CSS
body { color: #5d9337; } p { color: rgb(93, 147, 55); } header { border-bottom:1px solid #5d9337; }