#38742e Color
Color Codes | |
---|---|
Hex Code | #38742e |
RGB Code | rgb(56, 116, 46) |
HSL Code | hsl(111, 43%, 32%) |
#38742e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 116, 46); }
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(111, 43%, 32%); }
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 #38742e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 116, 46, 10%) | #38742e1a | |
rgb(56, 116, 46, 20%) | #38742e33 | |
rgb(56, 116, 46, 40%) | #38742e4C | |
rgb(56, 116, 46, 60%) | #38742e99 | |
rgb(56, 116, 46, 80%) | #38742eCC | |
rgb(56, 116, 46, 100%) | #38742eFF |
Saturated and desaturated colors of #38742e
HSL Code | Preview |
---|---|
hsl(111, 10%, 32%) | |
hsl(111, 20%, 32%) | |
hsl(111, 40%, 32%) | |
hsl(111, 60%, 32%) | |
hsl(111, 80%, 32%) | |
hsl(111, 100%, 32%) |
#38742e Color Usage In CSS
body { color: #38742e; } p { color: rgb(56, 116, 46); } header { border-bottom:1px solid #38742e; }