#d4aa6c Color
Color Codes | |
---|---|
Hex Code | #d4aa6c |
RGB Code | rgb(212, 170, 108) |
HSL Code | hsl(36, 55%, 63%) |
#d4aa6c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 170, 108); }
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(36, 55%, 63%); }
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 #d4aa6c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 170, 108, 10%) | #d4aa6c1a | |
rgb(212, 170, 108, 20%) | #d4aa6c33 | |
rgb(212, 170, 108, 40%) | #d4aa6c4C | |
rgb(212, 170, 108, 60%) | #d4aa6c99 | |
rgb(212, 170, 108, 80%) | #d4aa6cCC | |
rgb(212, 170, 108, 100%) | #d4aa6cFF |
Saturated and desaturated colors of #d4aa6c
HSL Code | Preview |
---|---|
hsl(36, 10%, 63%) | |
hsl(36, 20%, 63%) | |
hsl(36, 40%, 63%) | |
hsl(36, 60%, 63%) | |
hsl(36, 80%, 63%) | |
hsl(36, 100%, 63%) |
#d4aa6c Color Usage In CSS
body { color: #d4aa6c; } p { color: rgb(212, 170, 108); } header { border-bottom:1px solid #d4aa6c; }