#5e7a17 Color
Color Codes | |
---|---|
Hex Code | #5e7a17 |
RGB Code | rgb(94, 122, 23) |
HSL Code | hsl(77, 68%, 28%) |
#5e7a17 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 122, 23); }
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(77, 68%, 28%); }
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 #5e7a17
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 122, 23, 10%) | #5e7a171a | |
rgb(94, 122, 23, 20%) | #5e7a1733 | |
rgb(94, 122, 23, 40%) | #5e7a174C | |
rgb(94, 122, 23, 60%) | #5e7a1799 | |
rgb(94, 122, 23, 80%) | #5e7a17CC | |
rgb(94, 122, 23, 100%) | #5e7a17FF |
Saturated and desaturated colors of #5e7a17
HSL Code | Preview |
---|---|
hsl(77, 10%, 28%) | |
hsl(77, 20%, 28%) | |
hsl(77, 40%, 28%) | |
hsl(77, 60%, 28%) | |
hsl(77, 80%, 28%) | |
hsl(77, 100%, 28%) |
#5e7a17 Color Usage In CSS
body { color: #5e7a17; } p { color: rgb(94, 122, 23); } header { border-bottom:1px solid #5e7a17; }