#ed8cf8 Color
Color Codes | |
---|---|
Hex Code | #ed8cf8 |
RGB Code | rgb(237, 140, 248) |
HSL Code | hsl(294, 89%, 76%) |
#ed8cf8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 140, 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, 89%, 76%); }
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 #ed8cf8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 140, 248, 10%) | #ed8cf81a | |
rgb(237, 140, 248, 20%) | #ed8cf833 | |
rgb(237, 140, 248, 40%) | #ed8cf84C | |
rgb(237, 140, 248, 60%) | #ed8cf899 | |
rgb(237, 140, 248, 80%) | #ed8cf8CC | |
rgb(237, 140, 248, 100%) | #ed8cf8FF |
Saturated and desaturated colors of #ed8cf8
HSL Code | Preview |
---|---|
hsl(294, 10%, 76%) | |
hsl(294, 20%, 76%) | |
hsl(294, 40%, 76%) | |
hsl(294, 60%, 76%) | |
hsl(294, 80%, 76%) | |
hsl(294, 100%, 76%) |
#ed8cf8 Color Usage In CSS
body { color: #ed8cf8; } p { color: rgb(237, 140, 248); } header { border-bottom:1px solid #ed8cf8; }