#5df297 Color
Color Codes | |
---|---|
Hex Code | #5df297 |
RGB Code | rgb(93, 242, 151) |
HSL Code | hsl(143, 85%, 66%) |
#5df297 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 242, 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(143, 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 #5df297
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 242, 151, 10%) | #5df2971a | |
rgb(93, 242, 151, 20%) | #5df29733 | |
rgb(93, 242, 151, 40%) | #5df2974C | |
rgb(93, 242, 151, 60%) | #5df29799 | |
rgb(93, 242, 151, 80%) | #5df297CC | |
rgb(93, 242, 151, 100%) | #5df297FF |
Saturated and desaturated colors of #5df297
HSL Code | Preview |
---|---|
hsl(143, 10%, 66%) | |
hsl(143, 20%, 66%) | |
hsl(143, 40%, 66%) | |
hsl(143, 60%, 66%) | |
hsl(143, 80%, 66%) | |
hsl(143, 100%, 66%) |
#5df297 Color Usage In CSS
body { color: #5df297; } p { color: rgb(93, 242, 151); } header { border-bottom:1px solid #5df297; }