#f8cfea Color
Color Codes | |
---|---|
Hex Code | #f8cfea |
RGB Code | rgb(248, 207, 234) |
HSL Code | hsl(320, 75%, 89%) |
#f8cfea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 207, 234); }
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(320, 75%, 89%); }
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 #f8cfea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 207, 234, 10%) | #f8cfea1a | |
rgb(248, 207, 234, 20%) | #f8cfea33 | |
rgb(248, 207, 234, 40%) | #f8cfea4C | |
rgb(248, 207, 234, 60%) | #f8cfea99 | |
rgb(248, 207, 234, 80%) | #f8cfeaCC | |
rgb(248, 207, 234, 100%) | #f8cfeaFF |
Saturated and desaturated colors of #f8cfea
HSL Code | Preview |
---|---|
hsl(320, 10%, 89%) | |
hsl(320, 20%, 89%) | |
hsl(320, 40%, 89%) | |
hsl(320, 60%, 89%) | |
hsl(320, 80%, 89%) | |
hsl(320, 100%, 89%) |
#f8cfea Color Usage In CSS
body { color: #f8cfea; } p { color: rgb(248, 207, 234); } header { border-bottom:1px solid #f8cfea; }