#d8cabf Color
Color Codes | |
---|---|
Hex Code | #d8cabf |
RGB Code | rgb(216, 202, 191) |
HSL Code | hsl(26, 24%, 80%) |
#d8cabf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 202, 191); }
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(26, 24%, 80%); }
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 #d8cabf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 202, 191, 10%) | #d8cabf1a | |
rgb(216, 202, 191, 20%) | #d8cabf33 | |
rgb(216, 202, 191, 40%) | #d8cabf4C | |
rgb(216, 202, 191, 60%) | #d8cabf99 | |
rgb(216, 202, 191, 80%) | #d8cabfCC | |
rgb(216, 202, 191, 100%) | #d8cabfFF |
Saturated and desaturated colors of #d8cabf
HSL Code | Preview |
---|---|
hsl(26, 10%, 80%) | |
hsl(26, 20%, 80%) | |
hsl(26, 40%, 80%) | |
hsl(26, 60%, 80%) | |
hsl(26, 80%, 80%) | |
hsl(26, 100%, 80%) |
#d8cabf Color Usage In CSS
body { color: #d8cabf; } p { color: rgb(216, 202, 191); } header { border-bottom:1px solid #d8cabf; }