#5ff85b Color
Color Codes | |
---|---|
Hex Code | #5ff85b |
RGB Code | rgb(95, 248, 91) |
HSL Code | hsl(118, 92%, 66%) |
#5ff85b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 248, 91); }
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(118, 92%, 66%); }
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 #5ff85b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 248, 91, 10%) | #5ff85b1a | |
rgb(95, 248, 91, 20%) | #5ff85b33 | |
rgb(95, 248, 91, 40%) | #5ff85b4C | |
rgb(95, 248, 91, 60%) | #5ff85b99 | |
rgb(95, 248, 91, 80%) | #5ff85bCC | |
rgb(95, 248, 91, 100%) | #5ff85bFF |
Saturated and desaturated colors of #5ff85b
HSL Code | Preview |
---|---|
hsl(118, 10%, 66%) | |
hsl(118, 20%, 66%) | |
hsl(118, 40%, 66%) | |
hsl(118, 60%, 66%) | |
hsl(118, 80%, 66%) | |
hsl(118, 100%, 66%) |
#5ff85b Color Usage In CSS
body { color: #5ff85b; } p { color: rgb(95, 248, 91); } header { border-bottom:1px solid #5ff85b; }