#c39a3b Color
Color Codes | |
---|---|
Hex Code | #c39a3b |
RGB Code | rgb(195, 154, 59) |
HSL Code | hsl(42, 54%, 50%) |
#c39a3b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 154, 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(42, 54%, 50%); }
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 #c39a3b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 154, 59, 10%) | #c39a3b1a | |
rgb(195, 154, 59, 20%) | #c39a3b33 | |
rgb(195, 154, 59, 40%) | #c39a3b4C | |
rgb(195, 154, 59, 60%) | #c39a3b99 | |
rgb(195, 154, 59, 80%) | #c39a3bCC | |
rgb(195, 154, 59, 100%) | #c39a3bFF |
Saturated and desaturated colors of #c39a3b
HSL Code | Preview |
---|---|
hsl(42, 10%, 50%) | |
hsl(42, 20%, 50%) | |
hsl(42, 40%, 50%) | |
hsl(42, 60%, 50%) | |
hsl(42, 80%, 50%) | |
hsl(42, 100%, 50%) |
#c39a3b Color Usage In CSS
body { color: #c39a3b; } p { color: rgb(195, 154, 59); } header { border-bottom:1px solid #c39a3b; }