#d4bb7d Color
Color Codes | |
---|---|
Hex Code | #d4bb7d |
RGB Code | rgb(212, 187, 125) |
HSL Code | hsl(43, 50%, 66%) |
#d4bb7d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 187, 125); }
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(43, 50%, 66%); }
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 #d4bb7d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 187, 125, 10%) | #d4bb7d1a | |
rgb(212, 187, 125, 20%) | #d4bb7d33 | |
rgb(212, 187, 125, 40%) | #d4bb7d4C | |
rgb(212, 187, 125, 60%) | #d4bb7d99 | |
rgb(212, 187, 125, 80%) | #d4bb7dCC | |
rgb(212, 187, 125, 100%) | #d4bb7dFF |
Saturated and desaturated colors of #d4bb7d
HSL Code | Preview |
---|---|
hsl(43, 10%, 66%) | |
hsl(43, 20%, 66%) | |
hsl(43, 40%, 66%) | |
hsl(43, 60%, 66%) | |
hsl(43, 80%, 66%) | |
hsl(43, 100%, 66%) |
#d4bb7d Color Usage In CSS
body { color: #d4bb7d; } p { color: rgb(212, 187, 125); } header { border-bottom:1px solid #d4bb7d; }