#87cb98 Color
Color Codes | |
---|---|
Hex Code | #87cb98 |
RGB Code | rgb(135, 203, 152) |
HSL Code | hsl(135, 40%, 66%) |
#87cb98 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(135, 203, 152); }
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(135, 40%, 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 #87cb98
RGB Code | Hex Code | Preview |
---|---|---|
rgb(135, 203, 152, 10%) | #87cb981a | |
rgb(135, 203, 152, 20%) | #87cb9833 | |
rgb(135, 203, 152, 40%) | #87cb984C | |
rgb(135, 203, 152, 60%) | #87cb9899 | |
rgb(135, 203, 152, 80%) | #87cb98CC | |
rgb(135, 203, 152, 100%) | #87cb98FF |
Saturated and desaturated colors of #87cb98
HSL Code | Preview |
---|---|
hsl(135, 10%, 66%) | |
hsl(135, 20%, 66%) | |
hsl(135, 40%, 66%) | |
hsl(135, 60%, 66%) | |
hsl(135, 80%, 66%) | |
hsl(135, 100%, 66%) |
#87cb98 Color Usage In CSS
body { color: #87cb98; } p { color: rgb(135, 203, 152); } header { border-bottom:1px solid #87cb98; }