#92171c Color
Color Codes | |
---|---|
Hex Code | #92171c |
RGB Code | rgb(146, 23, 28) |
HSL Code | hsl(358, 73%, 33%) |
#92171c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(146, 23, 28); }
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(358, 73%, 33%); }
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 #92171c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(146, 23, 28, 10%) | #92171c1a | |
rgb(146, 23, 28, 20%) | #92171c33 | |
rgb(146, 23, 28, 40%) | #92171c4C | |
rgb(146, 23, 28, 60%) | #92171c99 | |
rgb(146, 23, 28, 80%) | #92171cCC | |
rgb(146, 23, 28, 100%) | #92171cFF |
Saturated and desaturated colors of #92171c
HSL Code | Preview |
---|---|
hsl(358, 10%, 33%) | |
hsl(358, 20%, 33%) | |
hsl(358, 40%, 33%) | |
hsl(358, 60%, 33%) | |
hsl(358, 80%, 33%) | |
hsl(358, 100%, 33%) |
#92171c Color Usage In CSS
body { color: #92171c; } p { color: rgb(146, 23, 28); } header { border-bottom:1px solid #92171c; }