#5af705 Color
Color Codes | |
---|---|
Hex Code | #5af705 |
RGB Code | rgb(90, 247, 05) |
HSL Code | hsl(99, 96%, 49%) |
#5af705 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(90, 247, 05); }
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(99, 96%, 49%); }
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 #5af705
RGB Code | Hex Code | Preview |
---|---|---|
rgb(90, 247, 05, 10%) | #5af7051a | |
rgb(90, 247, 05, 20%) | #5af70533 | |
rgb(90, 247, 05, 40%) | #5af7054C | |
rgb(90, 247, 05, 60%) | #5af70599 | |
rgb(90, 247, 05, 80%) | #5af705CC | |
rgb(90, 247, 05, 100%) | #5af705FF |
Saturated and desaturated colors of #5af705
HSL Code | Preview |
---|---|
hsl(99, 10%, 49%) | |
hsl(99, 20%, 49%) | |
hsl(99, 40%, 49%) | |
hsl(99, 60%, 49%) | |
hsl(99, 80%, 49%) | |
hsl(99, 100%, 49%) |
#5af705 Color Usage In CSS
body { color: #5af705; } p { color: rgb(90, 247, 05); } header { border-bottom:1px solid #5af705; }