#3f9f2b Color
Color Codes | |
---|---|
Hex Code | #3f9f2b |
RGB Code | rgb(63, 159, 43) |
HSL Code | hsl(110, 57%, 40%) |
#3f9f2b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 159, 43); }
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(110, 57%, 40%); }
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 #3f9f2b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 159, 43, 10%) | #3f9f2b1a | |
rgb(63, 159, 43, 20%) | #3f9f2b33 | |
rgb(63, 159, 43, 40%) | #3f9f2b4C | |
rgb(63, 159, 43, 60%) | #3f9f2b99 | |
rgb(63, 159, 43, 80%) | #3f9f2bCC | |
rgb(63, 159, 43, 100%) | #3f9f2bFF |
Saturated and desaturated colors of #3f9f2b
HSL Code | Preview |
---|---|
hsl(110, 10%, 40%) | |
hsl(110, 20%, 40%) | |
hsl(110, 40%, 40%) | |
hsl(110, 60%, 40%) | |
hsl(110, 80%, 40%) | |
hsl(110, 100%, 40%) |
#3f9f2b Color Usage In CSS
body { color: #3f9f2b; } p { color: rgb(63, 159, 43); } header { border-bottom:1px solid #3f9f2b; }