#c39a22 Color
Color Codes | |
---|---|
Hex Code | #c39a22 |
RGB Code | rgb(195, 154, 34) |
HSL Code | hsl(45, 70%, 45%) |
#c39a22 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 154, 34); }
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(45, 70%, 45%); }
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 #c39a22
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 154, 34, 10%) | #c39a221a | |
rgb(195, 154, 34, 20%) | #c39a2233 | |
rgb(195, 154, 34, 40%) | #c39a224C | |
rgb(195, 154, 34, 60%) | #c39a2299 | |
rgb(195, 154, 34, 80%) | #c39a22CC | |
rgb(195, 154, 34, 100%) | #c39a22FF |
Saturated and desaturated colors of #c39a22
HSL Code | Preview |
---|---|
hsl(45, 10%, 45%) | |
hsl(45, 20%, 45%) | |
hsl(45, 40%, 45%) | |
hsl(45, 60%, 45%) | |
hsl(45, 80%, 45%) | |
hsl(45, 100%, 45%) |
#c39a22 Color Usage In CSS
body { color: #c39a22; } p { color: rgb(195, 154, 34); } header { border-bottom:1px solid #c39a22; }