#cfc7ee Color
Color Codes | |
---|---|
Hex Code | #cfc7ee |
RGB Code | rgb(207, 199, 238) |
HSL Code | hsl(252, 53%, 86%) |
#cfc7ee Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 199, 238); }
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(252, 53%, 86%); }
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 #cfc7ee
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 199, 238, 10%) | #cfc7ee1a | |
rgb(207, 199, 238, 20%) | #cfc7ee33 | |
rgb(207, 199, 238, 40%) | #cfc7ee4C | |
rgb(207, 199, 238, 60%) | #cfc7ee99 | |
rgb(207, 199, 238, 80%) | #cfc7eeCC | |
rgb(207, 199, 238, 100%) | #cfc7eeFF |
Saturated and desaturated colors of #cfc7ee
HSL Code | Preview |
---|---|
hsl(252, 10%, 86%) | |
hsl(252, 20%, 86%) | |
hsl(252, 40%, 86%) | |
hsl(252, 60%, 86%) | |
hsl(252, 80%, 86%) | |
hsl(252, 100%, 86%) |
#cfc7ee Color Usage In CSS
body { color: #cfc7ee; } p { color: rgb(207, 199, 238); } header { border-bottom:1px solid #cfc7ee; }