#c09a1b Color
Color Codes | |
---|---|
Hex Code | #c09a1b |
RGB Code | rgb(192, 154, 27) |
HSL Code | hsl(46, 75%, 43%) |
#c09a1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 154, 27); }
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, 75%, 43%); }
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 #c09a1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 154, 27, 10%) | #c09a1b1a | |
rgb(192, 154, 27, 20%) | #c09a1b33 | |
rgb(192, 154, 27, 40%) | #c09a1b4C | |
rgb(192, 154, 27, 60%) | #c09a1b99 | |
rgb(192, 154, 27, 80%) | #c09a1bCC | |
rgb(192, 154, 27, 100%) | #c09a1bFF |
Saturated and desaturated colors of #c09a1b
HSL Code | Preview |
---|---|
hsl(46, 10%, 43%) | |
hsl(46, 20%, 43%) | |
hsl(46, 40%, 43%) | |
hsl(46, 60%, 43%) | |
hsl(46, 80%, 43%) | |
hsl(46, 100%, 43%) |
#c09a1b Color Usage In CSS
body { color: #c09a1b; } p { color: rgb(192, 154, 27); } header { border-bottom:1px solid #c09a1b; }