#5fe297 Color
Color Codes | |
---|---|
Hex Code | #5fe297 |
RGB Code | rgb(95, 226, 151) |
HSL Code | hsl(146, 69%, 63%) |
#5fe297 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 226, 151); }
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(146, 69%, 63%); }
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 #5fe297
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 226, 151, 10%) | #5fe2971a | |
rgb(95, 226, 151, 20%) | #5fe29733 | |
rgb(95, 226, 151, 40%) | #5fe2974C | |
rgb(95, 226, 151, 60%) | #5fe29799 | |
rgb(95, 226, 151, 80%) | #5fe297CC | |
rgb(95, 226, 151, 100%) | #5fe297FF |
Saturated and desaturated colors of #5fe297
HSL Code | Preview |
---|---|
hsl(146, 10%, 63%) | |
hsl(146, 20%, 63%) | |
hsl(146, 40%, 63%) | |
hsl(146, 60%, 63%) | |
hsl(146, 80%, 63%) | |
hsl(146, 100%, 63%) |
#5fe297 Color Usage In CSS
body { color: #5fe297; } p { color: rgb(95, 226, 151); } header { border-bottom:1px solid #5fe297; }