#8d163f Color
Color Codes | |
---|---|
Hex Code | #8d163f |
RGB Code | rgb(141, 22, 63) |
HSL Code | hsl(339, 73%, 32%) |
#8d163f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(141, 22, 63); }
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(339, 73%, 32%); }
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 #8d163f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(141, 22, 63, 10%) | #8d163f1a | |
rgb(141, 22, 63, 20%) | #8d163f33 | |
rgb(141, 22, 63, 40%) | #8d163f4C | |
rgb(141, 22, 63, 60%) | #8d163f99 | |
rgb(141, 22, 63, 80%) | #8d163fCC | |
rgb(141, 22, 63, 100%) | #8d163fFF |
Saturated and desaturated colors of #8d163f
HSL Code | Preview |
---|---|
hsl(339, 10%, 32%) | |
hsl(339, 20%, 32%) | |
hsl(339, 40%, 32%) | |
hsl(339, 60%, 32%) | |
hsl(339, 80%, 32%) | |
hsl(339, 100%, 32%) |
#8d163f Color Usage In CSS
body { color: #8d163f; } p { color: rgb(141, 22, 63); } header { border-bottom:1px solid #8d163f; }