#b6cc87 Color
Color Codes | |
---|---|
Hex Code | #b6cc87 |
RGB Code | rgb(182, 204, 135) |
HSL Code | hsl(79, 40%, 66%) |
#b6cc87 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 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(79, 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 #b6cc87
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 204, 135, 10%) | #b6cc871a | |
rgb(182, 204, 135, 20%) | #b6cc8733 | |
rgb(182, 204, 135, 40%) | #b6cc874C | |
rgb(182, 204, 135, 60%) | #b6cc8799 | |
rgb(182, 204, 135, 80%) | #b6cc87CC | |
rgb(182, 204, 135, 100%) | #b6cc87FF |
Saturated and desaturated colors of #b6cc87
HSL Code | Preview |
---|---|
hsl(79, 10%, 66%) | |
hsl(79, 20%, 66%) | |
hsl(79, 40%, 66%) | |
hsl(79, 60%, 66%) | |
hsl(79, 80%, 66%) | |
hsl(79, 100%, 66%) |
#b6cc87 Color Usage In CSS
body { color: #b6cc87; } p { color: rgb(182, 204, 135); } header { border-bottom:1px solid #b6cc87; }