#b86d1c Color
Color Codes | |
---|---|
Hex Code | #b86d1c |
RGB Code | rgb(184, 109, 28) |
HSL Code | hsl(31, 74%, 42%) |
#b86d1c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 109, 28); }
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(31, 74%, 42%); }
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 #b86d1c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 109, 28, 10%) | #b86d1c1a | |
rgb(184, 109, 28, 20%) | #b86d1c33 | |
rgb(184, 109, 28, 40%) | #b86d1c4C | |
rgb(184, 109, 28, 60%) | #b86d1c99 | |
rgb(184, 109, 28, 80%) | #b86d1cCC | |
rgb(184, 109, 28, 100%) | #b86d1cFF |
Saturated and desaturated colors of #b86d1c
HSL Code | Preview |
---|---|
hsl(31, 10%, 42%) | |
hsl(31, 20%, 42%) | |
hsl(31, 40%, 42%) | |
hsl(31, 60%, 42%) | |
hsl(31, 80%, 42%) | |
hsl(31, 100%, 42%) |
#b86d1c Color Usage In CSS
body { color: #b86d1c; } p { color: rgb(184, 109, 28); } header { border-bottom:1px solid #b86d1c; }