#dac43b Color
Color Codes | |
---|---|
Hex Code | #dac43b |
RGB Code | rgb(218, 196, 59) |
HSL Code | hsl(52, 68%, 54%) |
#dac43b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 196, 59); }
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(52, 68%, 54%); }
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 #dac43b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 196, 59, 10%) | #dac43b1a | |
rgb(218, 196, 59, 20%) | #dac43b33 | |
rgb(218, 196, 59, 40%) | #dac43b4C | |
rgb(218, 196, 59, 60%) | #dac43b99 | |
rgb(218, 196, 59, 80%) | #dac43bCC | |
rgb(218, 196, 59, 100%) | #dac43bFF |
Saturated and desaturated colors of #dac43b
HSL Code | Preview |
---|---|
hsl(52, 10%, 54%) | |
hsl(52, 20%, 54%) | |
hsl(52, 40%, 54%) | |
hsl(52, 60%, 54%) | |
hsl(52, 80%, 54%) | |
hsl(52, 100%, 54%) |
#dac43b Color Usage In CSS
body { color: #dac43b; } p { color: rgb(218, 196, 59); } header { border-bottom:1px solid #dac43b; }