#d5a249 Color
Color Codes | |
---|---|
Hex Code | #d5a249 |
RGB Code | rgb(213, 162, 73) |
HSL Code | hsl(38, 63%, 56%) |
#d5a249 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 162, 73); }
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, 63%, 56%); }
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 #d5a249
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 162, 73, 10%) | #d5a2491a | |
rgb(213, 162, 73, 20%) | #d5a24933 | |
rgb(213, 162, 73, 40%) | #d5a2494C | |
rgb(213, 162, 73, 60%) | #d5a24999 | |
rgb(213, 162, 73, 80%) | #d5a249CC | |
rgb(213, 162, 73, 100%) | #d5a249FF |
Saturated and desaturated colors of #d5a249
HSL Code | Preview |
---|---|
hsl(38, 10%, 56%) | |
hsl(38, 20%, 56%) | |
hsl(38, 40%, 56%) | |
hsl(38, 60%, 56%) | |
hsl(38, 80%, 56%) | |
hsl(38, 100%, 56%) |
#d5a249 Color Usage In CSS
body { color: #d5a249; } p { color: rgb(213, 162, 73); } header { border-bottom:1px solid #d5a249; }