#9b2537 Color
Color Codes | |
---|---|
Hex Code | #9b2537 |
RGB Code | rgb(155, 37, 55) |
HSL Code | hsl(351, 61%, 38%) |
#9b2537 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 37, 55); }
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, 61%, 38%); }
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 #9b2537
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 37, 55, 10%) | #9b25371a | |
rgb(155, 37, 55, 20%) | #9b253733 | |
rgb(155, 37, 55, 40%) | #9b25374C | |
rgb(155, 37, 55, 60%) | #9b253799 | |
rgb(155, 37, 55, 80%) | #9b2537CC | |
rgb(155, 37, 55, 100%) | #9b2537FF |
Saturated and desaturated colors of #9b2537
HSL Code | Preview |
---|---|
hsl(351, 10%, 38%) | |
hsl(351, 20%, 38%) | |
hsl(351, 40%, 38%) | |
hsl(351, 60%, 38%) | |
hsl(351, 80%, 38%) | |
hsl(351, 100%, 38%) |
#9b2537 Color Usage In CSS
body { color: #9b2537; } p { color: rgb(155, 37, 55); } header { border-bottom:1px solid #9b2537; }