#5d9d6b Color
Color Codes | |
---|---|
Hex Code | #5d9d6b |
RGB Code | rgb(93, 157, 107) |
HSL Code | hsl(133, 26%, 49%) |
#5d9d6b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 157, 107); }
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(133, 26%, 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 #5d9d6b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 157, 107, 10%) | #5d9d6b1a | |
rgb(93, 157, 107, 20%) | #5d9d6b33 | |
rgb(93, 157, 107, 40%) | #5d9d6b4C | |
rgb(93, 157, 107, 60%) | #5d9d6b99 | |
rgb(93, 157, 107, 80%) | #5d9d6bCC | |
rgb(93, 157, 107, 100%) | #5d9d6bFF |
Saturated and desaturated colors of #5d9d6b
HSL Code | Preview |
---|---|
hsl(133, 10%, 49%) | |
hsl(133, 20%, 49%) | |
hsl(133, 40%, 49%) | |
hsl(133, 60%, 49%) | |
hsl(133, 80%, 49%) | |
hsl(133, 100%, 49%) |
#5d9d6b Color Usage In CSS
body { color: #5d9d6b; } p { color: rgb(93, 157, 107); } header { border-bottom:1px solid #5d9d6b; }