#b8a7f3 Color
Color Codes | |
---|---|
Hex Code | #b8a7f3 |
RGB Code | rgb(184, 167, 243) |
HSL Code | hsl(253, 76%, 80%) |
#b8a7f3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 167, 243); }
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(253, 76%, 80%); }
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 #b8a7f3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 167, 243, 10%) | #b8a7f31a | |
rgb(184, 167, 243, 20%) | #b8a7f333 | |
rgb(184, 167, 243, 40%) | #b8a7f34C | |
rgb(184, 167, 243, 60%) | #b8a7f399 | |
rgb(184, 167, 243, 80%) | #b8a7f3CC | |
rgb(184, 167, 243, 100%) | #b8a7f3FF |
Saturated and desaturated colors of #b8a7f3
HSL Code | Preview |
---|---|
hsl(253, 10%, 80%) | |
hsl(253, 20%, 80%) | |
hsl(253, 40%, 80%) | |
hsl(253, 60%, 80%) | |
hsl(253, 80%, 80%) | |
hsl(253, 100%, 80%) |
#b8a7f3 Color Usage In CSS
body { color: #b8a7f3; } p { color: rgb(184, 167, 243); } header { border-bottom:1px solid #b8a7f3; }