#b94b5b Color
Color Codes | |
---|---|
Hex Code | #b94b5b |
RGB Code | rgb(185, 75, 91) |
HSL Code | hsl(351, 44%, 51%) |
#b94b5b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 75, 91); }
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(351, 44%, 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 #b94b5b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 75, 91, 10%) | #b94b5b1a | |
rgb(185, 75, 91, 20%) | #b94b5b33 | |
rgb(185, 75, 91, 40%) | #b94b5b4C | |
rgb(185, 75, 91, 60%) | #b94b5b99 | |
rgb(185, 75, 91, 80%) | #b94b5bCC | |
rgb(185, 75, 91, 100%) | #b94b5bFF |
Saturated and desaturated colors of #b94b5b
HSL Code | Preview |
---|---|
hsl(351, 10%, 51%) | |
hsl(351, 20%, 51%) | |
hsl(351, 40%, 51%) | |
hsl(351, 60%, 51%) | |
hsl(351, 80%, 51%) | |
hsl(351, 100%, 51%) |
#b94b5b Color Usage In CSS
body { color: #b94b5b; } p { color: rgb(185, 75, 91); } header { border-bottom:1px solid #b94b5b; }