#d2a259 Color
Color Codes | |
---|---|
Hex Code | #d2a259 |
RGB Code | rgb(210, 162, 89) |
HSL Code | hsl(36, 57%, 59%) |
#d2a259 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 162, 89); }
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, 57%, 59%); }
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 #d2a259
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 162, 89, 10%) | #d2a2591a | |
rgb(210, 162, 89, 20%) | #d2a25933 | |
rgb(210, 162, 89, 40%) | #d2a2594C | |
rgb(210, 162, 89, 60%) | #d2a25999 | |
rgb(210, 162, 89, 80%) | #d2a259CC | |
rgb(210, 162, 89, 100%) | #d2a259FF |
Saturated and desaturated colors of #d2a259
HSL Code | Preview |
---|---|
hsl(36, 10%, 59%) | |
hsl(36, 20%, 59%) | |
hsl(36, 40%, 59%) | |
hsl(36, 60%, 59%) | |
hsl(36, 80%, 59%) | |
hsl(36, 100%, 59%) |
#d2a259 Color Usage In CSS
body { color: #d2a259; } p { color: rgb(210, 162, 89); } header { border-bottom:1px solid #d2a259; }