#5e9729 Color
Color Codes | |
---|---|
Hex Code | #5e9729 |
RGB Code | rgb(94, 151, 41) |
HSL Code | hsl(91, 57%, 38%) |
#5e9729 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 151, 41); }
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(91, 57%, 38%); }
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 #5e9729
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 151, 41, 10%) | #5e97291a | |
rgb(94, 151, 41, 20%) | #5e972933 | |
rgb(94, 151, 41, 40%) | #5e97294C | |
rgb(94, 151, 41, 60%) | #5e972999 | |
rgb(94, 151, 41, 80%) | #5e9729CC | |
rgb(94, 151, 41, 100%) | #5e9729FF |
Saturated and desaturated colors of #5e9729
HSL Code | Preview |
---|---|
hsl(91, 10%, 38%) | |
hsl(91, 20%, 38%) | |
hsl(91, 40%, 38%) | |
hsl(91, 60%, 38%) | |
hsl(91, 80%, 38%) | |
hsl(91, 100%, 38%) |
#5e9729 Color Usage In CSS
body { color: #5e9729; } p { color: rgb(94, 151, 41); } header { border-bottom:1px solid #5e9729; }