#ebd6ff Color
Color Codes | |
---|---|
Hex Code | #ebd6ff |
RGB Code | rgb(235, 214, 255) |
HSL Code | hsl(271, 100%, 92%) |
#ebd6ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 214, 255); }
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(271, 100%, 92%); }
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 #ebd6ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 214, 255, 10%) | #ebd6ff1a | |
rgb(235, 214, 255, 20%) | #ebd6ff33 | |
rgb(235, 214, 255, 40%) | #ebd6ff4C | |
rgb(235, 214, 255, 60%) | #ebd6ff99 | |
rgb(235, 214, 255, 80%) | #ebd6ffCC | |
rgb(235, 214, 255, 100%) | #ebd6ffFF |
Saturated and desaturated colors of #ebd6ff
HSL Code | Preview |
---|---|
hsl(271, 10%, 92%) | |
hsl(271, 20%, 92%) | |
hsl(271, 40%, 92%) | |
hsl(271, 60%, 92%) | |
hsl(271, 80%, 92%) | |
hsl(271, 100%, 92%) |
#ebd6ff Color Usage In CSS
body { color: #ebd6ff; } p { color: rgb(235, 214, 255); } header { border-bottom:1px solid #ebd6ff; }