#d0b03a Color
Color Codes | |
---|---|
Hex Code | #d0b03a |
RGB Code | rgb(208, 176, 58) |
HSL Code | hsl(47, 61%, 52%) |
#d0b03a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 176, 58); }
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(47, 61%, 52%); }
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 #d0b03a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 176, 58, 10%) | #d0b03a1a | |
rgb(208, 176, 58, 20%) | #d0b03a33 | |
rgb(208, 176, 58, 40%) | #d0b03a4C | |
rgb(208, 176, 58, 60%) | #d0b03a99 | |
rgb(208, 176, 58, 80%) | #d0b03aCC | |
rgb(208, 176, 58, 100%) | #d0b03aFF |
Saturated and desaturated colors of #d0b03a
HSL Code | Preview |
---|---|
hsl(47, 10%, 52%) | |
hsl(47, 20%, 52%) | |
hsl(47, 40%, 52%) | |
hsl(47, 60%, 52%) | |
hsl(47, 80%, 52%) | |
hsl(47, 100%, 52%) |
#d0b03a Color Usage In CSS
body { color: #d0b03a; } p { color: rgb(208, 176, 58); } header { border-bottom:1px solid #d0b03a; }