#7e3d60 Color
Color Codes | |
---|---|
Hex Code | #7e3d60 |
RGB Code | rgb(126, 61, 96) |
HSL Code | hsl(328, 35%, 37%) |
#7e3d60 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 61, 96); }
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(328, 35%, 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 #7e3d60
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 61, 96, 10%) | #7e3d601a | |
rgb(126, 61, 96, 20%) | #7e3d6033 | |
rgb(126, 61, 96, 40%) | #7e3d604C | |
rgb(126, 61, 96, 60%) | #7e3d6099 | |
rgb(126, 61, 96, 80%) | #7e3d60CC | |
rgb(126, 61, 96, 100%) | #7e3d60FF |
Saturated and desaturated colors of #7e3d60
HSL Code | Preview |
---|---|
hsl(328, 10%, 37%) | |
hsl(328, 20%, 37%) | |
hsl(328, 40%, 37%) | |
hsl(328, 60%, 37%) | |
hsl(328, 80%, 37%) | |
hsl(328, 100%, 37%) |
#7e3d60 Color Usage In CSS
body { color: #7e3d60; } p { color: rgb(126, 61, 96); } header { border-bottom:1px solid #7e3d60; }