#b52b93 Color
Color Codes | |
---|---|
Hex Code | #b52b93 |
RGB Code | rgb(181, 43, 147) |
HSL Code | hsl(315, 62%, 44%) |
#b52b93 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 43, 147); }
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(315, 62%, 44%); }
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 #b52b93
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 43, 147, 10%) | #b52b931a | |
rgb(181, 43, 147, 20%) | #b52b9333 | |
rgb(181, 43, 147, 40%) | #b52b934C | |
rgb(181, 43, 147, 60%) | #b52b9399 | |
rgb(181, 43, 147, 80%) | #b52b93CC | |
rgb(181, 43, 147, 100%) | #b52b93FF |
Saturated and desaturated colors of #b52b93
HSL Code | Preview |
---|---|
hsl(315, 10%, 44%) | |
hsl(315, 20%, 44%) | |
hsl(315, 40%, 44%) | |
hsl(315, 60%, 44%) | |
hsl(315, 80%, 44%) | |
hsl(315, 100%, 44%) |
#b52b93 Color Usage In CSS
body { color: #b52b93; } p { color: rgb(181, 43, 147); } header { border-bottom:1px solid #b52b93; }