#b47af7 Color
Color Codes | |
---|---|
Hex Code | #b47af7 |
RGB Code | rgb(180, 122, 247) |
HSL Code | hsl(268, 89%, 72%) |
#b47af7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(180, 122, 247); }
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(268, 89%, 72%); }
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 #b47af7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(180, 122, 247, 10%) | #b47af71a | |
rgb(180, 122, 247, 20%) | #b47af733 | |
rgb(180, 122, 247, 40%) | #b47af74C | |
rgb(180, 122, 247, 60%) | #b47af799 | |
rgb(180, 122, 247, 80%) | #b47af7CC | |
rgb(180, 122, 247, 100%) | #b47af7FF |
Saturated and desaturated colors of #b47af7
HSL Code | Preview |
---|---|
hsl(268, 10%, 72%) | |
hsl(268, 20%, 72%) | |
hsl(268, 40%, 72%) | |
hsl(268, 60%, 72%) | |
hsl(268, 80%, 72%) | |
hsl(268, 100%, 72%) |
#b47af7 Color Usage In CSS
body { color: #b47af7; } p { color: rgb(180, 122, 247); } header { border-bottom:1px solid #b47af7; }