#d29b0c Color
Color Codes | |
---|---|
Hex Code | #d29b0c |
RGB Code | rgb(210, 155, 12) |
HSL Code | hsl(43, 89%, 44%) |
#d29b0c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 155, 12); }
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(43, 89%, 44%); }
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 #d29b0c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 155, 12, 10%) | #d29b0c1a | |
rgb(210, 155, 12, 20%) | #d29b0c33 | |
rgb(210, 155, 12, 40%) | #d29b0c4C | |
rgb(210, 155, 12, 60%) | #d29b0c99 | |
rgb(210, 155, 12, 80%) | #d29b0cCC | |
rgb(210, 155, 12, 100%) | #d29b0cFF |
Saturated and desaturated colors of #d29b0c
HSL Code | Preview |
---|---|
hsl(43, 10%, 44%) | |
hsl(43, 20%, 44%) | |
hsl(43, 40%, 44%) | |
hsl(43, 60%, 44%) | |
hsl(43, 80%, 44%) | |
hsl(43, 100%, 44%) |
#d29b0c Color Usage In CSS
body { color: #d29b0c; } p { color: rgb(210, 155, 12); } header { border-bottom:1px solid #d29b0c; }