#d1caca Color
Color Codes | |
---|---|
Hex Code | #d1caca |
RGB Code | rgb(209, 202, 202) |
HSL Code | hsl(0, 7%, 81%) |
#d1caca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 202, 202); }
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(0, 7%, 81%); }
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 #d1caca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 202, 202, 10%) | #d1caca1a | |
rgb(209, 202, 202, 20%) | #d1caca33 | |
rgb(209, 202, 202, 40%) | #d1caca4C | |
rgb(209, 202, 202, 60%) | #d1caca99 | |
rgb(209, 202, 202, 80%) | #d1cacaCC | |
rgb(209, 202, 202, 100%) | #d1cacaFF |
Saturated and desaturated colors of #d1caca
HSL Code | Preview |
---|---|
hsl(0, 10%, 81%) | |
hsl(0, 20%, 81%) | |
hsl(0, 40%, 81%) | |
hsl(0, 60%, 81%) | |
hsl(0, 80%, 81%) | |
hsl(0, 100%, 81%) |
#d1caca Color Usage In CSS
body { color: #d1caca; } p { color: rgb(209, 202, 202); } header { border-bottom:1px solid #d1caca; }