#d2b47f Color
Color Codes | |
---|---|
Hex Code | #d2b47f |
RGB Code | rgb(210, 180, 127) |
HSL Code | hsl(38, 48%, 66%) |
#d2b47f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 180, 127); }
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(38, 48%, 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 #d2b47f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 180, 127, 10%) | #d2b47f1a | |
rgb(210, 180, 127, 20%) | #d2b47f33 | |
rgb(210, 180, 127, 40%) | #d2b47f4C | |
rgb(210, 180, 127, 60%) | #d2b47f99 | |
rgb(210, 180, 127, 80%) | #d2b47fCC | |
rgb(210, 180, 127, 100%) | #d2b47fFF |
Saturated and desaturated colors of #d2b47f
HSL Code | Preview |
---|---|
hsl(38, 10%, 66%) | |
hsl(38, 20%, 66%) | |
hsl(38, 40%, 66%) | |
hsl(38, 60%, 66%) | |
hsl(38, 80%, 66%) | |
hsl(38, 100%, 66%) |
#d2b47f Color Usage In CSS
body { color: #d2b47f; } p { color: rgb(210, 180, 127); } header { border-bottom:1px solid #d2b47f; }