#3f7337 Color
Color Codes | |
---|---|
Hex Code | #3f7337 |
RGB Code | rgb(63, 115, 55) |
HSL Code | hsl(112, 35%, 33%) |
#3f7337 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(63, 115, 55); }
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(112, 35%, 33%); }
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 #3f7337
RGB Code | Hex Code | Preview |
---|---|---|
rgb(63, 115, 55, 10%) | #3f73371a | |
rgb(63, 115, 55, 20%) | #3f733733 | |
rgb(63, 115, 55, 40%) | #3f73374C | |
rgb(63, 115, 55, 60%) | #3f733799 | |
rgb(63, 115, 55, 80%) | #3f7337CC | |
rgb(63, 115, 55, 100%) | #3f7337FF |
Saturated and desaturated colors of #3f7337
HSL Code | Preview |
---|---|
hsl(112, 10%, 33%) | |
hsl(112, 20%, 33%) | |
hsl(112, 40%, 33%) | |
hsl(112, 60%, 33%) | |
hsl(112, 80%, 33%) | |
hsl(112, 100%, 33%) |
#3f7337 Color Usage In CSS
body { color: #3f7337; } p { color: rgb(63, 115, 55); } header { border-bottom:1px solid #3f7337; }