#7e8ae2 Color
Color Codes | |
---|---|
Hex Code | #7e8ae2 |
RGB Code | rgb(126, 138, 226) |
HSL Code | hsl(233, 63%, 69%) |
#7e8ae2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 138, 226); }
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(233, 63%, 69%); }
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 #7e8ae2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 138, 226, 10%) | #7e8ae21a | |
rgb(126, 138, 226, 20%) | #7e8ae233 | |
rgb(126, 138, 226, 40%) | #7e8ae24C | |
rgb(126, 138, 226, 60%) | #7e8ae299 | |
rgb(126, 138, 226, 80%) | #7e8ae2CC | |
rgb(126, 138, 226, 100%) | #7e8ae2FF |
Saturated and desaturated colors of #7e8ae2
HSL Code | Preview |
---|---|
hsl(233, 10%, 69%) | |
hsl(233, 20%, 69%) | |
hsl(233, 40%, 69%) | |
hsl(233, 60%, 69%) | |
hsl(233, 80%, 69%) | |
hsl(233, 100%, 69%) |
#7e8ae2 Color Usage In CSS
body { color: #7e8ae2; } p { color: rgb(126, 138, 226); } header { border-bottom:1px solid #7e8ae2; }