#39812c Color
Color Codes | |
---|---|
Hex Code | #39812c |
RGB Code | rgb(57, 129, 44) |
HSL Code | hsl(111, 49%, 34%) |
#39812c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 129, 44); }
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, 49%, 34%); }
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 #39812c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 129, 44, 10%) | #39812c1a | |
rgb(57, 129, 44, 20%) | #39812c33 | |
rgb(57, 129, 44, 40%) | #39812c4C | |
rgb(57, 129, 44, 60%) | #39812c99 | |
rgb(57, 129, 44, 80%) | #39812cCC | |
rgb(57, 129, 44, 100%) | #39812cFF |
Saturated and desaturated colors of #39812c
HSL Code | Preview |
---|---|
hsl(111, 10%, 34%) | |
hsl(111, 20%, 34%) | |
hsl(111, 40%, 34%) | |
hsl(111, 60%, 34%) | |
hsl(111, 80%, 34%) | |
hsl(111, 100%, 34%) |
#39812c Color Usage In CSS
body { color: #39812c; } p { color: rgb(57, 129, 44); } header { border-bottom:1px solid #39812c; }