#3c4715 Color
Color Codes | |
---|---|
Hex Code | #3c4715 |
RGB Code | rgb(60, 71, 21) |
HSL Code | hsl(73, 54%, 18%) |
#3c4715 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(60, 71, 21); }
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(73, 54%, 18%); }
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 #3c4715
RGB Code | Hex Code | Preview |
---|---|---|
rgb(60, 71, 21, 10%) | #3c47151a | |
rgb(60, 71, 21, 20%) | #3c471533 | |
rgb(60, 71, 21, 40%) | #3c47154C | |
rgb(60, 71, 21, 60%) | #3c471599 | |
rgb(60, 71, 21, 80%) | #3c4715CC | |
rgb(60, 71, 21, 100%) | #3c4715FF |
Saturated and desaturated colors of #3c4715
HSL Code | Preview |
---|---|
hsl(73, 10%, 18%) | |
hsl(73, 20%, 18%) | |
hsl(73, 40%, 18%) | |
hsl(73, 60%, 18%) | |
hsl(73, 80%, 18%) | |
hsl(73, 100%, 18%) |
#3c4715 Color Usage In CSS
body { color: #3c4715; } p { color: rgb(60, 71, 21); } header { border-bottom:1px solid #3c4715; }