#b0cc87 Color
Color Codes | |
---|---|
Hex Code | #b0cc87 |
RGB Code | rgb(176, 204, 135) |
HSL Code | hsl(84, 40%, 66%) |
#b0cc87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(176, 204, 135); }
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(84, 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 #b0cc87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(176, 204, 135, 10%) | #b0cc871a | |
rgb(176, 204, 135, 20%) | #b0cc8733 | |
rgb(176, 204, 135, 40%) | #b0cc874C | |
rgb(176, 204, 135, 60%) | #b0cc8799 | |
rgb(176, 204, 135, 80%) | #b0cc87CC | |
rgb(176, 204, 135, 100%) | #b0cc87FF |
Saturated and desaturated colors of #b0cc87
HSL Code | Preview |
---|---|
hsl(84, 10%, 66%) | |
hsl(84, 20%, 66%) | |
hsl(84, 40%, 66%) | |
hsl(84, 60%, 66%) | |
hsl(84, 80%, 66%) | |
hsl(84, 100%, 66%) |
#b0cc87 Color Usage In CSS
body { color: #b0cc87; } p { color: rgb(176, 204, 135); } header { border-bottom:1px solid #b0cc87; }