#bbabf8 Color
Color Codes | |
---|---|
Hex Code | #bbabf8 |
RGB Code | rgb(187, 171, 248) |
HSL Code | hsl(252, 85%, 82%) |
#bbabf8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 171, 248); }
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(252, 85%, 82%); }
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 #bbabf8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 171, 248, 10%) | #bbabf81a | |
rgb(187, 171, 248, 20%) | #bbabf833 | |
rgb(187, 171, 248, 40%) | #bbabf84C | |
rgb(187, 171, 248, 60%) | #bbabf899 | |
rgb(187, 171, 248, 80%) | #bbabf8CC | |
rgb(187, 171, 248, 100%) | #bbabf8FF |
Saturated and desaturated colors of #bbabf8
HSL Code | Preview |
---|---|
hsl(252, 10%, 82%) | |
hsl(252, 20%, 82%) | |
hsl(252, 40%, 82%) | |
hsl(252, 60%, 82%) | |
hsl(252, 80%, 82%) | |
hsl(252, 100%, 82%) |
#bbabf8 Color Usage In CSS
body { color: #bbabf8; } p { color: rgb(187, 171, 248); } header { border-bottom:1px solid #bbabf8; }