#7e414b Color
Color Codes | |
---|---|
Hex Code | #7e414b |
RGB Code | rgb(126, 65, 75) |
HSL Code | hsl(350, 32%, 37%) |
#7e414b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 65, 75); }
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, 32%, 37%); }
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 #7e414b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 65, 75, 10%) | #7e414b1a | |
rgb(126, 65, 75, 20%) | #7e414b33 | |
rgb(126, 65, 75, 40%) | #7e414b4C | |
rgb(126, 65, 75, 60%) | #7e414b99 | |
rgb(126, 65, 75, 80%) | #7e414bCC | |
rgb(126, 65, 75, 100%) | #7e414bFF |
Saturated and desaturated colors of #7e414b
HSL Code | Preview |
---|---|
hsl(350, 10%, 37%) | |
hsl(350, 20%, 37%) | |
hsl(350, 40%, 37%) | |
hsl(350, 60%, 37%) | |
hsl(350, 80%, 37%) | |
hsl(350, 100%, 37%) |
#7e414b Color Usage In CSS
body { color: #7e414b; } p { color: rgb(126, 65, 75); } header { border-bottom:1px solid #7e414b; }