#8cc5aa Color
Color Codes | |
---|---|
Hex Code | #8cc5aa |
RGB Code | rgb(140, 197, 170) |
HSL Code | hsl(152, 33%, 66%) |
#8cc5aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(140, 197, 170); }
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(152, 33%, 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 #8cc5aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(140, 197, 170, 10%) | #8cc5aa1a | |
rgb(140, 197, 170, 20%) | #8cc5aa33 | |
rgb(140, 197, 170, 40%) | #8cc5aa4C | |
rgb(140, 197, 170, 60%) | #8cc5aa99 | |
rgb(140, 197, 170, 80%) | #8cc5aaCC | |
rgb(140, 197, 170, 100%) | #8cc5aaFF |
Saturated and desaturated colors of #8cc5aa
HSL Code | Preview |
---|---|
hsl(152, 10%, 66%) | |
hsl(152, 20%, 66%) | |
hsl(152, 40%, 66%) | |
hsl(152, 60%, 66%) | |
hsl(152, 80%, 66%) | |
hsl(152, 100%, 66%) |
#8cc5aa Color Usage In CSS
body { color: #8cc5aa; } p { color: rgb(140, 197, 170); } header { border-bottom:1px solid #8cc5aa; }