#7e182b Color
Color Codes | |
---|---|
Hex Code | #7e182b |
RGB Code | rgb(126, 24, 43) |
HSL Code | hsl(349, 68%, 29%) |
#7e182b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 24, 43); }
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(349, 68%, 29%); }
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 #7e182b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 24, 43, 10%) | #7e182b1a | |
rgb(126, 24, 43, 20%) | #7e182b33 | |
rgb(126, 24, 43, 40%) | #7e182b4C | |
rgb(126, 24, 43, 60%) | #7e182b99 | |
rgb(126, 24, 43, 80%) | #7e182bCC | |
rgb(126, 24, 43, 100%) | #7e182bFF |
Saturated and desaturated colors of #7e182b
HSL Code | Preview |
---|---|
hsl(349, 10%, 29%) | |
hsl(349, 20%, 29%) | |
hsl(349, 40%, 29%) | |
hsl(349, 60%, 29%) | |
hsl(349, 80%, 29%) | |
hsl(349, 100%, 29%) |
#7e182b Color Usage In CSS
body { color: #7e182b; } p { color: rgb(126, 24, 43); } header { border-bottom:1px solid #7e182b; }