#c19c1f Color
Color Codes | |
---|---|
Hex Code | #c19c1f |
RGB Code | rgb(193, 156, 31) |
HSL Code | hsl(46, 72%, 44%) |
#c19c1f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 156, 31); }
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, 72%, 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 #c19c1f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 156, 31, 10%) | #c19c1f1a | |
rgb(193, 156, 31, 20%) | #c19c1f33 | |
rgb(193, 156, 31, 40%) | #c19c1f4C | |
rgb(193, 156, 31, 60%) | #c19c1f99 | |
rgb(193, 156, 31, 80%) | #c19c1fCC | |
rgb(193, 156, 31, 100%) | #c19c1fFF |
Saturated and desaturated colors of #c19c1f
HSL Code | Preview |
---|---|
hsl(46, 10%, 44%) | |
hsl(46, 20%, 44%) | |
hsl(46, 40%, 44%) | |
hsl(46, 60%, 44%) | |
hsl(46, 80%, 44%) | |
hsl(46, 100%, 44%) |
#c19c1f Color Usage In CSS
body { color: #c19c1f; } p { color: rgb(193, 156, 31); } header { border-bottom:1px solid #c19c1f; }