#b91ce7 Color
Color Codes | |
---|---|
Hex Code | #b91ce7 |
RGB Code | rgb(185, 28, 231) |
HSL Code | hsl(286, 81%, 51%) |
#b91ce7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 28, 231); }
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(286, 81%, 51%); }
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 #b91ce7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 28, 231, 10%) | #b91ce71a | |
rgb(185, 28, 231, 20%) | #b91ce733 | |
rgb(185, 28, 231, 40%) | #b91ce74C | |
rgb(185, 28, 231, 60%) | #b91ce799 | |
rgb(185, 28, 231, 80%) | #b91ce7CC | |
rgb(185, 28, 231, 100%) | #b91ce7FF |
Saturated and desaturated colors of #b91ce7
HSL Code | Preview |
---|---|
hsl(286, 10%, 51%) | |
hsl(286, 20%, 51%) | |
hsl(286, 40%, 51%) | |
hsl(286, 60%, 51%) | |
hsl(286, 80%, 51%) | |
hsl(286, 100%, 51%) |
#b91ce7 Color Usage In CSS
body { color: #b91ce7; } p { color: rgb(185, 28, 231); } header { border-bottom:1px solid #b91ce7; }