#bd8eb1 Color
Color Codes | |
---|---|
Hex Code | #bd8eb1 |
RGB Code | rgb(189, 142, 177) |
HSL Code | hsl(315, 26%, 65%) |
#bd8eb1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 142, 177); }
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(315, 26%, 65%); }
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 #bd8eb1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 142, 177, 10%) | #bd8eb11a | |
rgb(189, 142, 177, 20%) | #bd8eb133 | |
rgb(189, 142, 177, 40%) | #bd8eb14C | |
rgb(189, 142, 177, 60%) | #bd8eb199 | |
rgb(189, 142, 177, 80%) | #bd8eb1CC | |
rgb(189, 142, 177, 100%) | #bd8eb1FF |
Saturated and desaturated colors of #bd8eb1
HSL Code | Preview |
---|---|
hsl(315, 10%, 65%) | |
hsl(315, 20%, 65%) | |
hsl(315, 40%, 65%) | |
hsl(315, 60%, 65%) | |
hsl(315, 80%, 65%) | |
hsl(315, 100%, 65%) |
#bd8eb1 Color Usage In CSS
body { color: #bd8eb1; } p { color: rgb(189, 142, 177); } header { border-bottom:1px solid #bd8eb1; }