#dab04d Color
Color Codes | |
---|---|
Hex Code | #dab04d |
RGB Code | rgb(218, 176, 77) |
HSL Code | hsl(42, 66%, 58%) |
#dab04d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 176, 77); }
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(42, 66%, 58%); }
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 #dab04d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 176, 77, 10%) | #dab04d1a | |
rgb(218, 176, 77, 20%) | #dab04d33 | |
rgb(218, 176, 77, 40%) | #dab04d4C | |
rgb(218, 176, 77, 60%) | #dab04d99 | |
rgb(218, 176, 77, 80%) | #dab04dCC | |
rgb(218, 176, 77, 100%) | #dab04dFF |
Saturated and desaturated colors of #dab04d
HSL Code | Preview |
---|---|
hsl(42, 10%, 58%) | |
hsl(42, 20%, 58%) | |
hsl(42, 40%, 58%) | |
hsl(42, 60%, 58%) | |
hsl(42, 80%, 58%) | |
hsl(42, 100%, 58%) |
#dab04d Color Usage In CSS
body { color: #dab04d; } p { color: rgb(218, 176, 77); } header { border-bottom:1px solid #dab04d; }