#5e9522 Color
Color Codes | |
---|---|
Hex Code | #5e9522 |
RGB Code | rgb(94, 149, 34) |
HSL Code | hsl(89, 63%, 36%) |
#5e9522 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 149, 34); }
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(89, 63%, 36%); }
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 #5e9522
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 149, 34, 10%) | #5e95221a | |
rgb(94, 149, 34, 20%) | #5e952233 | |
rgb(94, 149, 34, 40%) | #5e95224C | |
rgb(94, 149, 34, 60%) | #5e952299 | |
rgb(94, 149, 34, 80%) | #5e9522CC | |
rgb(94, 149, 34, 100%) | #5e9522FF |
Saturated and desaturated colors of #5e9522
HSL Code | Preview |
---|---|
hsl(89, 10%, 36%) | |
hsl(89, 20%, 36%) | |
hsl(89, 40%, 36%) | |
hsl(89, 60%, 36%) | |
hsl(89, 80%, 36%) | |
hsl(89, 100%, 36%) |
#5e9522 Color Usage In CSS
body { color: #5e9522; } p { color: rgb(94, 149, 34); } header { border-bottom:1px solid #5e9522; }