#8cbbab Color
Color Codes | |
---|---|
Hex Code | #8cbbab |
RGB Code | rgb(140, 187, 171) |
HSL Code | hsl(160, 26%, 64%) |
#8cbbab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(140, 187, 171); }
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(160, 26%, 64%); }
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 #8cbbab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(140, 187, 171, 10%) | #8cbbab1a | |
rgb(140, 187, 171, 20%) | #8cbbab33 | |
rgb(140, 187, 171, 40%) | #8cbbab4C | |
rgb(140, 187, 171, 60%) | #8cbbab99 | |
rgb(140, 187, 171, 80%) | #8cbbabCC | |
rgb(140, 187, 171, 100%) | #8cbbabFF |
Saturated and desaturated colors of #8cbbab
HSL Code | Preview |
---|---|
hsl(160, 10%, 64%) | |
hsl(160, 20%, 64%) | |
hsl(160, 40%, 64%) | |
hsl(160, 60%, 64%) | |
hsl(160, 80%, 64%) | |
hsl(160, 100%, 64%) |
#8cbbab Color Usage In CSS
body { color: #8cbbab; } p { color: rgb(140, 187, 171); } header { border-bottom:1px solid #8cbbab; }