#3ec961 Color
Color Codes | |
---|---|
Hex Code | #3ec961 |
RGB Code | rgb(62, 201, 97) |
HSL Code | hsl(135, 56%, 52%) |
#3ec961 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 201, 97); }
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(135, 56%, 52%); }
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 #3ec961
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 201, 97, 10%) | #3ec9611a | |
rgb(62, 201, 97, 20%) | #3ec96133 | |
rgb(62, 201, 97, 40%) | #3ec9614C | |
rgb(62, 201, 97, 60%) | #3ec96199 | |
rgb(62, 201, 97, 80%) | #3ec961CC | |
rgb(62, 201, 97, 100%) | #3ec961FF |
Saturated and desaturated colors of #3ec961
HSL Code | Preview |
---|---|
hsl(135, 10%, 52%) | |
hsl(135, 20%, 52%) | |
hsl(135, 40%, 52%) | |
hsl(135, 60%, 52%) | |
hsl(135, 80%, 52%) | |
hsl(135, 100%, 52%) |
#3ec961 Color Usage In CSS
body { color: #3ec961; } p { color: rgb(62, 201, 97); } header { border-bottom:1px solid #3ec961; }