#b79d1b Color
Color Codes | |
---|---|
Hex Code | #b79d1b |
RGB Code | rgb(183, 157, 27) |
HSL Code | hsl(50, 74%, 41%) |
#b79d1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 157, 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(50, 74%, 41%); }
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 #b79d1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 157, 27, 10%) | #b79d1b1a | |
rgb(183, 157, 27, 20%) | #b79d1b33 | |
rgb(183, 157, 27, 40%) | #b79d1b4C | |
rgb(183, 157, 27, 60%) | #b79d1b99 | |
rgb(183, 157, 27, 80%) | #b79d1bCC | |
rgb(183, 157, 27, 100%) | #b79d1bFF |
Saturated and desaturated colors of #b79d1b
HSL Code | Preview |
---|---|
hsl(50, 10%, 41%) | |
hsl(50, 20%, 41%) | |
hsl(50, 40%, 41%) | |
hsl(50, 60%, 41%) | |
hsl(50, 80%, 41%) | |
hsl(50, 100%, 41%) |
#b79d1b Color Usage In CSS
body { color: #b79d1b; } p { color: rgb(183, 157, 27); } header { border-bottom:1px solid #b79d1b; }