#d4d0aa Color
Color Codes | |
---|---|
Hex Code | #d4d0aa |
RGB Code | rgb(212, 208, 170) |
HSL Code | hsl(54, 33%, 75%) |
#d4d0aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 208, 170); }
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(54, 33%, 75%); }
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 #d4d0aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 208, 170, 10%) | #d4d0aa1a | |
rgb(212, 208, 170, 20%) | #d4d0aa33 | |
rgb(212, 208, 170, 40%) | #d4d0aa4C | |
rgb(212, 208, 170, 60%) | #d4d0aa99 | |
rgb(212, 208, 170, 80%) | #d4d0aaCC | |
rgb(212, 208, 170, 100%) | #d4d0aaFF |
Saturated and desaturated colors of #d4d0aa
HSL Code | Preview |
---|---|
hsl(54, 10%, 75%) | |
hsl(54, 20%, 75%) | |
hsl(54, 40%, 75%) | |
hsl(54, 60%, 75%) | |
hsl(54, 80%, 75%) | |
hsl(54, 100%, 75%) |
#d4d0aa Color Usage In CSS
body { color: #d4d0aa; } p { color: rgb(212, 208, 170); } header { border-bottom:1px solid #d4d0aa; }