#b34f5a Color
Color Codes | |
---|---|
Hex Code | #b34f5a |
RGB Code | rgb(179, 79, 90) |
HSL Code | hsl(353, 40%, 51%) |
#b34f5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 79, 90); }
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(353, 40%, 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 #b34f5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 79, 90, 10%) | #b34f5a1a | |
rgb(179, 79, 90, 20%) | #b34f5a33 | |
rgb(179, 79, 90, 40%) | #b34f5a4C | |
rgb(179, 79, 90, 60%) | #b34f5a99 | |
rgb(179, 79, 90, 80%) | #b34f5aCC | |
rgb(179, 79, 90, 100%) | #b34f5aFF |
Saturated and desaturated colors of #b34f5a
HSL Code | Preview |
---|---|
hsl(353, 10%, 51%) | |
hsl(353, 20%, 51%) | |
hsl(353, 40%, 51%) | |
hsl(353, 60%, 51%) | |
hsl(353, 80%, 51%) | |
hsl(353, 100%, 51%) |
#b34f5a Color Usage In CSS
body { color: #b34f5a; } p { color: rgb(179, 79, 90); } header { border-bottom:1px solid #b34f5a; }