#5b721b Color
Color Codes | |
---|---|
Hex Code | #5b721b |
RGB Code | rgb(91, 114, 27) |
HSL Code | hsl(76, 62%, 28%) |
#5b721b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 114, 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(76, 62%, 28%); }
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 #5b721b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 114, 27, 10%) | #5b721b1a | |
rgb(91, 114, 27, 20%) | #5b721b33 | |
rgb(91, 114, 27, 40%) | #5b721b4C | |
rgb(91, 114, 27, 60%) | #5b721b99 | |
rgb(91, 114, 27, 80%) | #5b721bCC | |
rgb(91, 114, 27, 100%) | #5b721bFF |
Saturated and desaturated colors of #5b721b
HSL Code | Preview |
---|---|
hsl(76, 10%, 28%) | |
hsl(76, 20%, 28%) | |
hsl(76, 40%, 28%) | |
hsl(76, 60%, 28%) | |
hsl(76, 80%, 28%) | |
hsl(76, 100%, 28%) |
#5b721b Color Usage In CSS
body { color: #5b721b; } p { color: rgb(91, 114, 27); } header { border-bottom:1px solid #5b721b; }