#b15ea1 Color
Color Codes | |
---|---|
Hex Code | #b15ea1 |
RGB Code | rgb(177, 94, 161) |
HSL Code | hsl(312, 35%, 53%) |
#b15ea1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 94, 161); }
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(312, 35%, 53%); }
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 #b15ea1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 94, 161, 10%) | #b15ea11a | |
rgb(177, 94, 161, 20%) | #b15ea133 | |
rgb(177, 94, 161, 40%) | #b15ea14C | |
rgb(177, 94, 161, 60%) | #b15ea199 | |
rgb(177, 94, 161, 80%) | #b15ea1CC | |
rgb(177, 94, 161, 100%) | #b15ea1FF |
Saturated and desaturated colors of #b15ea1
HSL Code | Preview |
---|---|
hsl(312, 10%, 53%) | |
hsl(312, 20%, 53%) | |
hsl(312, 40%, 53%) | |
hsl(312, 60%, 53%) | |
hsl(312, 80%, 53%) | |
hsl(312, 100%, 53%) |
#b15ea1 Color Usage In CSS
body { color: #b15ea1; } p { color: rgb(177, 94, 161); } header { border-bottom:1px solid #b15ea1; }