#d4c0b6 Color
Color Codes | |
---|---|
Hex Code | #d4c0b6 |
RGB Code | rgb(212, 192, 182) |
HSL Code | hsl(20, 26%, 77%) |
#d4c0b6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 192, 182); }
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(20, 26%, 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 #d4c0b6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 192, 182, 10%) | #d4c0b61a | |
rgb(212, 192, 182, 20%) | #d4c0b633 | |
rgb(212, 192, 182, 40%) | #d4c0b64C | |
rgb(212, 192, 182, 60%) | #d4c0b699 | |
rgb(212, 192, 182, 80%) | #d4c0b6CC | |
rgb(212, 192, 182, 100%) | #d4c0b6FF |
Saturated and desaturated colors of #d4c0b6
HSL Code | Preview |
---|---|
hsl(20, 10%, 77%) | |
hsl(20, 20%, 77%) | |
hsl(20, 40%, 77%) | |
hsl(20, 60%, 77%) | |
hsl(20, 80%, 77%) | |
hsl(20, 100%, 77%) |
#d4c0b6 Color Usage In CSS
body { color: #d4c0b6; } p { color: rgb(212, 192, 182); } header { border-bottom:1px solid #d4c0b6; }