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