#328f3f Color
Color Codes | |
---|---|
Hex Code | #328f3f |
RGB Code | rgb(50, 143, 63) |
HSL Code | hsl(128, 48%, 38%) |
#328f3f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(50, 143, 63); }
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(128, 48%, 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 #328f3f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(50, 143, 63, 10%) | #328f3f1a | |
rgb(50, 143, 63, 20%) | #328f3f33 | |
rgb(50, 143, 63, 40%) | #328f3f4C | |
rgb(50, 143, 63, 60%) | #328f3f99 | |
rgb(50, 143, 63, 80%) | #328f3fCC | |
rgb(50, 143, 63, 100%) | #328f3fFF |
Saturated and desaturated colors of #328f3f
HSL Code | Preview |
---|---|
hsl(128, 10%, 38%) | |
hsl(128, 20%, 38%) | |
hsl(128, 40%, 38%) | |
hsl(128, 60%, 38%) | |
hsl(128, 80%, 38%) | |
hsl(128, 100%, 38%) |
#328f3f Color Usage In CSS
body { color: #328f3f; } p { color: rgb(50, 143, 63); } header { border-bottom:1px solid #328f3f; }