#b7a4e1 Color
Color Codes | |
---|---|
Hex Code | #b7a4e1 |
RGB Code | rgb(183, 164, 225) |
HSL Code | hsl(259, 50%, 76%) |
#b7a4e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 164, 225); }
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(259, 50%, 76%); }
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 #b7a4e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 164, 225, 10%) | #b7a4e11a | |
rgb(183, 164, 225, 20%) | #b7a4e133 | |
rgb(183, 164, 225, 40%) | #b7a4e14C | |
rgb(183, 164, 225, 60%) | #b7a4e199 | |
rgb(183, 164, 225, 80%) | #b7a4e1CC | |
rgb(183, 164, 225, 100%) | #b7a4e1FF |
Saturated and desaturated colors of #b7a4e1
HSL Code | Preview |
---|---|
hsl(259, 10%, 76%) | |
hsl(259, 20%, 76%) | |
hsl(259, 40%, 76%) | |
hsl(259, 60%, 76%) | |
hsl(259, 80%, 76%) | |
hsl(259, 100%, 76%) |
#b7a4e1 Color Usage In CSS
body { color: #b7a4e1; } p { color: rgb(183, 164, 225); } header { border-bottom:1px solid #b7a4e1; }