#b5334c Color
Color Codes | |
---|---|
Hex Code | #b5334c |
RGB Code | rgb(181, 51, 76) |
HSL Code | hsl(348, 56%, 45%) |
#b5334c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 51, 76); }
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(348, 56%, 45%); }
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 #b5334c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 51, 76, 10%) | #b5334c1a | |
rgb(181, 51, 76, 20%) | #b5334c33 | |
rgb(181, 51, 76, 40%) | #b5334c4C | |
rgb(181, 51, 76, 60%) | #b5334c99 | |
rgb(181, 51, 76, 80%) | #b5334cCC | |
rgb(181, 51, 76, 100%) | #b5334cFF |
Saturated and desaturated colors of #b5334c
HSL Code | Preview |
---|---|
hsl(348, 10%, 45%) | |
hsl(348, 20%, 45%) | |
hsl(348, 40%, 45%) | |
hsl(348, 60%, 45%) | |
hsl(348, 80%, 45%) | |
hsl(348, 100%, 45%) |
#b5334c Color Usage In CSS
body { color: #b5334c; } p { color: rgb(181, 51, 76); } header { border-bottom:1px solid #b5334c; }