#b1c991 Color
Color Codes | |
---|---|
Hex Code | #b1c991 |
RGB Code | rgb(177, 201, 145) |
HSL Code | hsl(86, 34%, 68%) |
#b1c991 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 201, 145); }
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(86, 34%, 68%); }
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 #b1c991
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 201, 145, 10%) | #b1c9911a | |
rgb(177, 201, 145, 20%) | #b1c99133 | |
rgb(177, 201, 145, 40%) | #b1c9914C | |
rgb(177, 201, 145, 60%) | #b1c99199 | |
rgb(177, 201, 145, 80%) | #b1c991CC | |
rgb(177, 201, 145, 100%) | #b1c991FF |
Saturated and desaturated colors of #b1c991
HSL Code | Preview |
---|---|
hsl(86, 10%, 68%) | |
hsl(86, 20%, 68%) | |
hsl(86, 40%, 68%) | |
hsl(86, 60%, 68%) | |
hsl(86, 80%, 68%) | |
hsl(86, 100%, 68%) |
#b1c991 Color Usage In CSS
body { color: #b1c991; } p { color: rgb(177, 201, 145); } header { border-bottom:1px solid #b1c991; }