#5fb47e Color
Color Codes | |
---|---|
Hex Code | #5fb47e |
RGB Code | rgb(95, 180, 126) |
HSL Code | hsl(142, 36%, 54%) |
#5fb47e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 180, 126); }
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(142, 36%, 54%); }
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 #5fb47e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 180, 126, 10%) | #5fb47e1a | |
rgb(95, 180, 126, 20%) | #5fb47e33 | |
rgb(95, 180, 126, 40%) | #5fb47e4C | |
rgb(95, 180, 126, 60%) | #5fb47e99 | |
rgb(95, 180, 126, 80%) | #5fb47eCC | |
rgb(95, 180, 126, 100%) | #5fb47eFF |
Saturated and desaturated colors of #5fb47e
HSL Code | Preview |
---|---|
hsl(142, 10%, 54%) | |
hsl(142, 20%, 54%) | |
hsl(142, 40%, 54%) | |
hsl(142, 60%, 54%) | |
hsl(142, 80%, 54%) | |
hsl(142, 100%, 54%) |
#5fb47e Color Usage In CSS
body { color: #5fb47e; } p { color: rgb(95, 180, 126); } header { border-bottom:1px solid #5fb47e; }