#9fc351 Color
Color Codes | |
---|---|
Hex Code | #9fc351 |
RGB Code | rgb(159, 195, 81) |
HSL Code | hsl(79, 49%, 54%) |
#9fc351 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 195, 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(79, 49%, 54%); }
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 #9fc351
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 195, 81, 10%) | #9fc3511a | |
rgb(159, 195, 81, 20%) | #9fc35133 | |
rgb(159, 195, 81, 40%) | #9fc3514C | |
rgb(159, 195, 81, 60%) | #9fc35199 | |
rgb(159, 195, 81, 80%) | #9fc351CC | |
rgb(159, 195, 81, 100%) | #9fc351FF |
Saturated and desaturated colors of #9fc351
HSL Code | Preview |
---|---|
hsl(79, 10%, 54%) | |
hsl(79, 20%, 54%) | |
hsl(79, 40%, 54%) | |
hsl(79, 60%, 54%) | |
hsl(79, 80%, 54%) | |
hsl(79, 100%, 54%) |
#9fc351 Color Usage In CSS
body { color: #9fc351; } p { color: rgb(159, 195, 81); } header { border-bottom:1px solid #9fc351; }