#9fec85 Color
Color Codes | |
---|---|
Hex Code | #9fec85 |
RGB Code | rgb(159, 236, 133) |
HSL Code | hsl(105, 73%, 72%) |
#9fec85 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 236, 133); }
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(105, 73%, 72%); }
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 #9fec85
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 236, 133, 10%) | #9fec851a | |
rgb(159, 236, 133, 20%) | #9fec8533 | |
rgb(159, 236, 133, 40%) | #9fec854C | |
rgb(159, 236, 133, 60%) | #9fec8599 | |
rgb(159, 236, 133, 80%) | #9fec85CC | |
rgb(159, 236, 133, 100%) | #9fec85FF |
Saturated and desaturated colors of #9fec85
HSL Code | Preview |
---|---|
hsl(105, 10%, 72%) | |
hsl(105, 20%, 72%) | |
hsl(105, 40%, 72%) | |
hsl(105, 60%, 72%) | |
hsl(105, 80%, 72%) | |
hsl(105, 100%, 72%) |
#9fec85 Color Usage In CSS
body { color: #9fec85; } p { color: rgb(159, 236, 133); } header { border-bottom:1px solid #9fec85; }