#e8a7db Color
Color Codes | |
---|---|
Hex Code | #e8a7db |
RGB Code | rgb(232, 167, 219) |
HSL Code | hsl(312, 59%, 78%) |
#e8a7db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(232, 167, 219); }
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(312, 59%, 78%); }
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 #e8a7db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(232, 167, 219, 10%) | #e8a7db1a | |
rgb(232, 167, 219, 20%) | #e8a7db33 | |
rgb(232, 167, 219, 40%) | #e8a7db4C | |
rgb(232, 167, 219, 60%) | #e8a7db99 | |
rgb(232, 167, 219, 80%) | #e8a7dbCC | |
rgb(232, 167, 219, 100%) | #e8a7dbFF |
Saturated and desaturated colors of #e8a7db
HSL Code | Preview |
---|---|
hsl(312, 10%, 78%) | |
hsl(312, 20%, 78%) | |
hsl(312, 40%, 78%) | |
hsl(312, 60%, 78%) | |
hsl(312, 80%, 78%) | |
hsl(312, 100%, 78%) |
#e8a7db Color Usage In CSS
body { color: #e8a7db; } p { color: rgb(232, 167, 219); } header { border-bottom:1px solid #e8a7db; }