#5ff28e Color
Color Codes | |
---|---|
Hex Code | #5ff28e |
RGB Code | rgb(95, 242, 142) |
HSL Code | hsl(139, 85%, 66%) |
#5ff28e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 242, 142); }
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(139, 85%, 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 #5ff28e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 242, 142, 10%) | #5ff28e1a | |
rgb(95, 242, 142, 20%) | #5ff28e33 | |
rgb(95, 242, 142, 40%) | #5ff28e4C | |
rgb(95, 242, 142, 60%) | #5ff28e99 | |
rgb(95, 242, 142, 80%) | #5ff28eCC | |
rgb(95, 242, 142, 100%) | #5ff28eFF |
Saturated and desaturated colors of #5ff28e
HSL Code | Preview |
---|---|
hsl(139, 10%, 66%) | |
hsl(139, 20%, 66%) | |
hsl(139, 40%, 66%) | |
hsl(139, 60%, 66%) | |
hsl(139, 80%, 66%) | |
hsl(139, 100%, 66%) |
#5ff28e Color Usage In CSS
body { color: #5ff28e; } p { color: rgb(95, 242, 142); } header { border-bottom:1px solid #5ff28e; }