#d3bd40 Color
Color Codes | |
---|---|
Hex Code | #d3bd40 |
RGB Code | rgb(211, 189, 64) |
HSL Code | hsl(51, 63%, 54%) |
#d3bd40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 189, 64); }
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(51, 63%, 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 #d3bd40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 189, 64, 10%) | #d3bd401a | |
rgb(211, 189, 64, 20%) | #d3bd4033 | |
rgb(211, 189, 64, 40%) | #d3bd404C | |
rgb(211, 189, 64, 60%) | #d3bd4099 | |
rgb(211, 189, 64, 80%) | #d3bd40CC | |
rgb(211, 189, 64, 100%) | #d3bd40FF |
Saturated and desaturated colors of #d3bd40
HSL Code | Preview |
---|---|
hsl(51, 10%, 54%) | |
hsl(51, 20%, 54%) | |
hsl(51, 40%, 54%) | |
hsl(51, 60%, 54%) | |
hsl(51, 80%, 54%) | |
hsl(51, 100%, 54%) |
#d3bd40 Color Usage In CSS
body { color: #d3bd40; } p { color: rgb(211, 189, 64); } header { border-bottom:1px solid #d3bd40; }