#d7b1c3 Color
Color Codes | |
---|---|
Hex Code | #d7b1c3 |
RGB Code | rgb(215, 177, 195) |
HSL Code | hsl(332, 32%, 77%) |
#d7b1c3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 177, 195); }
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(332, 32%, 77%); }
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 #d7b1c3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 177, 195, 10%) | #d7b1c31a | |
rgb(215, 177, 195, 20%) | #d7b1c333 | |
rgb(215, 177, 195, 40%) | #d7b1c34C | |
rgb(215, 177, 195, 60%) | #d7b1c399 | |
rgb(215, 177, 195, 80%) | #d7b1c3CC | |
rgb(215, 177, 195, 100%) | #d7b1c3FF |
Saturated and desaturated colors of #d7b1c3
HSL Code | Preview |
---|---|
hsl(332, 10%, 77%) | |
hsl(332, 20%, 77%) | |
hsl(332, 40%, 77%) | |
hsl(332, 60%, 77%) | |
hsl(332, 80%, 77%) | |
hsl(332, 100%, 77%) |
#d7b1c3 Color Usage In CSS
body { color: #d7b1c3; } p { color: rgb(215, 177, 195); } header { border-bottom:1px solid #d7b1c3; }