#9fe56f Color
Color Codes | |
---|---|
Hex Code | #9fe56f |
RGB Code | rgb(159, 229, 111) |
HSL Code | hsl(96, 69%, 67%) |
#9fe56f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 229, 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(96, 69%, 67%); }
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 #9fe56f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 229, 111, 10%) | #9fe56f1a | |
rgb(159, 229, 111, 20%) | #9fe56f33 | |
rgb(159, 229, 111, 40%) | #9fe56f4C | |
rgb(159, 229, 111, 60%) | #9fe56f99 | |
rgb(159, 229, 111, 80%) | #9fe56fCC | |
rgb(159, 229, 111, 100%) | #9fe56fFF |
Saturated and desaturated colors of #9fe56f
HSL Code | Preview |
---|---|
hsl(96, 10%, 67%) | |
hsl(96, 20%, 67%) | |
hsl(96, 40%, 67%) | |
hsl(96, 60%, 67%) | |
hsl(96, 80%, 67%) | |
hsl(96, 100%, 67%) |
#9fe56f Color Usage In CSS
body { color: #9fe56f; } p { color: rgb(159, 229, 111); } header { border-bottom:1px solid #9fe56f; }