#b715ba Color
Color Codes | |
---|---|
Hex Code | #b715ba |
RGB Code | rgb(183, 21, 186) |
HSL Code | hsl(299, 80%, 41%) |
#b715ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 21, 186); }
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(299, 80%, 41%); }
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 #b715ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 21, 186, 10%) | #b715ba1a | |
rgb(183, 21, 186, 20%) | #b715ba33 | |
rgb(183, 21, 186, 40%) | #b715ba4C | |
rgb(183, 21, 186, 60%) | #b715ba99 | |
rgb(183, 21, 186, 80%) | #b715baCC | |
rgb(183, 21, 186, 100%) | #b715baFF |
Saturated and desaturated colors of #b715ba
HSL Code | Preview |
---|---|
hsl(299, 10%, 41%) | |
hsl(299, 20%, 41%) | |
hsl(299, 40%, 41%) | |
hsl(299, 60%, 41%) | |
hsl(299, 80%, 41%) | |
hsl(299, 100%, 41%) |
#b715ba Color Usage In CSS
body { color: #b715ba; } p { color: rgb(183, 21, 186); } header { border-bottom:1px solid #b715ba; }