#e8acfd Color
Color Codes | |
---|---|
Hex Code | #e8acfd |
RGB Code | rgb(232, 172, 253) |
HSL Code | hsl(284, 95%, 83%) |
#e8acfd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(232, 172, 253); }
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(284, 95%, 83%); }
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 #e8acfd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(232, 172, 253, 10%) | #e8acfd1a | |
rgb(232, 172, 253, 20%) | #e8acfd33 | |
rgb(232, 172, 253, 40%) | #e8acfd4C | |
rgb(232, 172, 253, 60%) | #e8acfd99 | |
rgb(232, 172, 253, 80%) | #e8acfdCC | |
rgb(232, 172, 253, 100%) | #e8acfdFF |
Saturated and desaturated colors of #e8acfd
HSL Code | Preview |
---|---|
hsl(284, 10%, 83%) | |
hsl(284, 20%, 83%) | |
hsl(284, 40%, 83%) | |
hsl(284, 60%, 83%) | |
hsl(284, 80%, 83%) | |
hsl(284, 100%, 83%) |
#e8acfd Color Usage In CSS
body { color: #e8acfd; } p { color: rgb(232, 172, 253); } header { border-bottom:1px solid #e8acfd; }