#3a613a Color
Color Codes | |
---|---|
Hex Code | #3a613a |
RGB Code | rgb(58, 97, 58) |
HSL Code | hsl(120, 25%, 30%) |
#3a613a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(58, 97, 58); }
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(120, 25%, 30%); }
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 #3a613a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(58, 97, 58, 10%) | #3a613a1a | |
rgb(58, 97, 58, 20%) | #3a613a33 | |
rgb(58, 97, 58, 40%) | #3a613a4C | |
rgb(58, 97, 58, 60%) | #3a613a99 | |
rgb(58, 97, 58, 80%) | #3a613aCC | |
rgb(58, 97, 58, 100%) | #3a613aFF |
Saturated and desaturated colors of #3a613a
HSL Code | Preview |
---|---|
hsl(120, 10%, 30%) | |
hsl(120, 20%, 30%) | |
hsl(120, 40%, 30%) | |
hsl(120, 60%, 30%) | |
hsl(120, 80%, 30%) | |
hsl(120, 100%, 30%) |
#3a613a Color Usage In CSS
body { color: #3a613a; } p { color: rgb(58, 97, 58); } header { border-bottom:1px solid #3a613a; }