#7e6899 Color
Color Codes | |
---|---|
Hex Code | #7e6899 |
RGB Code | rgb(126, 104, 153) |
HSL Code | hsl(267, 19%, 50%) |
#7e6899 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 104, 153); }
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(267, 19%, 50%); }
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 #7e6899
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 104, 153, 10%) | #7e68991a | |
rgb(126, 104, 153, 20%) | #7e689933 | |
rgb(126, 104, 153, 40%) | #7e68994C | |
rgb(126, 104, 153, 60%) | #7e689999 | |
rgb(126, 104, 153, 80%) | #7e6899CC | |
rgb(126, 104, 153, 100%) | #7e6899FF |
Saturated and desaturated colors of #7e6899
HSL Code | Preview |
---|---|
hsl(267, 10%, 50%) | |
hsl(267, 20%, 50%) | |
hsl(267, 40%, 50%) | |
hsl(267, 60%, 50%) | |
hsl(267, 80%, 50%) | |
hsl(267, 100%, 50%) |
#7e6899 Color Usage In CSS
body { color: #7e6899; } p { color: rgb(126, 104, 153); } header { border-bottom:1px solid #7e6899; }