#3e6716 Color
Color Codes | |
---|---|
Hex Code | #3e6716 |
RGB Code | rgb(62, 103, 22) |
HSL Code | hsl(90, 65%, 25%) |
#3e6716 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 103, 22); }
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(90, 65%, 25%); }
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 #3e6716
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 103, 22, 10%) | #3e67161a | |
rgb(62, 103, 22, 20%) | #3e671633 | |
rgb(62, 103, 22, 40%) | #3e67164C | |
rgb(62, 103, 22, 60%) | #3e671699 | |
rgb(62, 103, 22, 80%) | #3e6716CC | |
rgb(62, 103, 22, 100%) | #3e6716FF |
Saturated and desaturated colors of #3e6716
HSL Code | Preview |
---|---|
hsl(90, 10%, 25%) | |
hsl(90, 20%, 25%) | |
hsl(90, 40%, 25%) | |
hsl(90, 60%, 25%) | |
hsl(90, 80%, 25%) | |
hsl(90, 100%, 25%) |
#3e6716 Color Usage In CSS
body { color: #3e6716; } p { color: rgb(62, 103, 22); } header { border-bottom:1px solid #3e6716; }