#b28147 Color
Color Codes | |
---|---|
Hex Code | #b28147 |
RGB Code | rgb(178, 129, 71) |
HSL Code | hsl(33, 43%, 49%) |
#b28147 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 129, 71); }
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(33, 43%, 49%); }
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 #b28147
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 129, 71, 10%) | #b281471a | |
rgb(178, 129, 71, 20%) | #b2814733 | |
rgb(178, 129, 71, 40%) | #b281474C | |
rgb(178, 129, 71, 60%) | #b2814799 | |
rgb(178, 129, 71, 80%) | #b28147CC | |
rgb(178, 129, 71, 100%) | #b28147FF |
Saturated and desaturated colors of #b28147
HSL Code | Preview |
---|---|
hsl(33, 10%, 49%) | |
hsl(33, 20%, 49%) | |
hsl(33, 40%, 49%) | |
hsl(33, 60%, 49%) | |
hsl(33, 80%, 49%) | |
hsl(33, 100%, 49%) |
#b28147 Color Usage In CSS
body { color: #b28147; } p { color: rgb(178, 129, 71); } header { border-bottom:1px solid #b28147; }