#eb7ef8 Color
Color Codes | |
---|---|
Hex Code | #eb7ef8 |
RGB Code | rgb(235, 126, 248) |
HSL Code | hsl(294, 90%, 73%) |
#eb7ef8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 126, 248); }
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(294, 90%, 73%); }
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 #eb7ef8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 126, 248, 10%) | #eb7ef81a | |
rgb(235, 126, 248, 20%) | #eb7ef833 | |
rgb(235, 126, 248, 40%) | #eb7ef84C | |
rgb(235, 126, 248, 60%) | #eb7ef899 | |
rgb(235, 126, 248, 80%) | #eb7ef8CC | |
rgb(235, 126, 248, 100%) | #eb7ef8FF |
Saturated and desaturated colors of #eb7ef8
HSL Code | Preview |
---|---|
hsl(294, 10%, 73%) | |
hsl(294, 20%, 73%) | |
hsl(294, 40%, 73%) | |
hsl(294, 60%, 73%) | |
hsl(294, 80%, 73%) | |
hsl(294, 100%, 73%) |
#eb7ef8 Color Usage In CSS
body { color: #eb7ef8; } p { color: rgb(235, 126, 248); } header { border-bottom:1px solid #eb7ef8; }