#3ca22b Color
Color Codes | |
---|---|
Hex Code | #3ca22b |
RGB Code | rgb(60, 162, 43) |
HSL Code | hsl(111, 58%, 40%) |
#3ca22b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(60, 162, 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(111, 58%, 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 #3ca22b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(60, 162, 43, 10%) | #3ca22b1a | |
rgb(60, 162, 43, 20%) | #3ca22b33 | |
rgb(60, 162, 43, 40%) | #3ca22b4C | |
rgb(60, 162, 43, 60%) | #3ca22b99 | |
rgb(60, 162, 43, 80%) | #3ca22bCC | |
rgb(60, 162, 43, 100%) | #3ca22bFF |
Saturated and desaturated colors of #3ca22b
HSL Code | Preview |
---|---|
hsl(111, 10%, 40%) | |
hsl(111, 20%, 40%) | |
hsl(111, 40%, 40%) | |
hsl(111, 60%, 40%) | |
hsl(111, 80%, 40%) | |
hsl(111, 100%, 40%) |
#3ca22b Color Usage In CSS
body { color: #3ca22b; } p { color: rgb(60, 162, 43); } header { border-bottom:1px solid #3ca22b; }