#bcb8da Color
Color Codes | |
---|---|
Hex Code | #bcb8da |
RGB Code | rgb(188, 184, 218) |
HSL Code | hsl(247, 31%, 79%) |
#bcb8da Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 184, 218); }
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(247, 31%, 79%); }
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 #bcb8da
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 184, 218, 10%) | #bcb8da1a | |
rgb(188, 184, 218, 20%) | #bcb8da33 | |
rgb(188, 184, 218, 40%) | #bcb8da4C | |
rgb(188, 184, 218, 60%) | #bcb8da99 | |
rgb(188, 184, 218, 80%) | #bcb8daCC | |
rgb(188, 184, 218, 100%) | #bcb8daFF |
Saturated and desaturated colors of #bcb8da
HSL Code | Preview |
---|---|
hsl(247, 10%, 79%) | |
hsl(247, 20%, 79%) | |
hsl(247, 40%, 79%) | |
hsl(247, 60%, 79%) | |
hsl(247, 80%, 79%) | |
hsl(247, 100%, 79%) |
#bcb8da Color Usage In CSS
body { color: #bcb8da; } p { color: rgb(188, 184, 218); } header { border-bottom:1px solid #bcb8da; }