#ecc4fc Color
Color Codes | |
---|---|
Hex Code | #ecc4fc |
RGB Code | rgb(236, 196, 252) |
HSL Code | hsl(283, 90%, 88%) |
#ecc4fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 196, 252); }
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(283, 90%, 88%); }
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 #ecc4fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 196, 252, 10%) | #ecc4fc1a | |
rgb(236, 196, 252, 20%) | #ecc4fc33 | |
rgb(236, 196, 252, 40%) | #ecc4fc4C | |
rgb(236, 196, 252, 60%) | #ecc4fc99 | |
rgb(236, 196, 252, 80%) | #ecc4fcCC | |
rgb(236, 196, 252, 100%) | #ecc4fcFF |
Saturated and desaturated colors of #ecc4fc
HSL Code | Preview |
---|---|
hsl(283, 10%, 88%) | |
hsl(283, 20%, 88%) | |
hsl(283, 40%, 88%) | |
hsl(283, 60%, 88%) | |
hsl(283, 80%, 88%) | |
hsl(283, 100%, 88%) |
#ecc4fc Color Usage In CSS
body { color: #ecc4fc; } p { color: rgb(236, 196, 252); } header { border-bottom:1px solid #ecc4fc; }