#c1970d Color
Color Codes | |
---|---|
Hex Code | #c1970d |
RGB Code | rgb(193, 151, 13) |
HSL Code | hsl(46, 87%, 40%) |
#c1970d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 151, 13); }
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(46, 87%, 40%); }
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 #c1970d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 151, 13, 10%) | #c1970d1a | |
rgb(193, 151, 13, 20%) | #c1970d33 | |
rgb(193, 151, 13, 40%) | #c1970d4C | |
rgb(193, 151, 13, 60%) | #c1970d99 | |
rgb(193, 151, 13, 80%) | #c1970dCC | |
rgb(193, 151, 13, 100%) | #c1970dFF |
Saturated and desaturated colors of #c1970d
HSL Code | Preview |
---|---|
hsl(46, 10%, 40%) | |
hsl(46, 20%, 40%) | |
hsl(46, 40%, 40%) | |
hsl(46, 60%, 40%) | |
hsl(46, 80%, 40%) | |
hsl(46, 100%, 40%) |
#c1970d Color Usage In CSS
body { color: #c1970d; } p { color: rgb(193, 151, 13); } header { border-bottom:1px solid #c1970d; }