#9fd96f Color
Color Codes | |
---|---|
Hex Code | #9fd96f |
RGB Code | rgb(159, 217, 111) |
HSL Code | hsl(93, 58%, 64%) |
#9fd96f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 217, 111); }
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(93, 58%, 64%); }
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 #9fd96f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 217, 111, 10%) | #9fd96f1a | |
rgb(159, 217, 111, 20%) | #9fd96f33 | |
rgb(159, 217, 111, 40%) | #9fd96f4C | |
rgb(159, 217, 111, 60%) | #9fd96f99 | |
rgb(159, 217, 111, 80%) | #9fd96fCC | |
rgb(159, 217, 111, 100%) | #9fd96fFF |
Saturated and desaturated colors of #9fd96f
HSL Code | Preview |
---|---|
hsl(93, 10%, 64%) | |
hsl(93, 20%, 64%) | |
hsl(93, 40%, 64%) | |
hsl(93, 60%, 64%) | |
hsl(93, 80%, 64%) | |
hsl(93, 100%, 64%) |
#9fd96f Color Usage In CSS
body { color: #9fd96f; } p { color: rgb(159, 217, 111); } header { border-bottom:1px solid #9fd96f; }