#3cf951 Color
Color Codes | |
---|---|
Hex Code | #3cf951 |
RGB Code | rgb(60, 249, 81) |
HSL Code | hsl(127, 94%, 61%) |
#3cf951 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(60, 249, 81); }
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(127, 94%, 61%); }
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 #3cf951
RGB Code | Hex Code | Preview |
---|---|---|
rgb(60, 249, 81, 10%) | #3cf9511a | |
rgb(60, 249, 81, 20%) | #3cf95133 | |
rgb(60, 249, 81, 40%) | #3cf9514C | |
rgb(60, 249, 81, 60%) | #3cf95199 | |
rgb(60, 249, 81, 80%) | #3cf951CC | |
rgb(60, 249, 81, 100%) | #3cf951FF |
Saturated and desaturated colors of #3cf951
HSL Code | Preview |
---|---|
hsl(127, 10%, 61%) | |
hsl(127, 20%, 61%) | |
hsl(127, 40%, 61%) | |
hsl(127, 60%, 61%) | |
hsl(127, 80%, 61%) | |
hsl(127, 100%, 61%) |
#3cf951 Color Usage In CSS
body { color: #3cf951; } p { color: rgb(60, 249, 81); } header { border-bottom:1px solid #3cf951; }