#ba8645 Color
Color Codes | |
---|---|
Hex Code | #ba8645 |
RGB Code | rgb(186, 134, 69) |
HSL Code | hsl(33, 46%, 50%) |
#ba8645 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 134, 69); }
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, 46%, 50%); }
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 #ba8645
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 134, 69, 10%) | #ba86451a | |
rgb(186, 134, 69, 20%) | #ba864533 | |
rgb(186, 134, 69, 40%) | #ba86454C | |
rgb(186, 134, 69, 60%) | #ba864599 | |
rgb(186, 134, 69, 80%) | #ba8645CC | |
rgb(186, 134, 69, 100%) | #ba8645FF |
Saturated and desaturated colors of #ba8645
HSL Code | Preview |
---|---|
hsl(33, 10%, 50%) | |
hsl(33, 20%, 50%) | |
hsl(33, 40%, 50%) | |
hsl(33, 60%, 50%) | |
hsl(33, 80%, 50%) | |
hsl(33, 100%, 50%) |
#ba8645 Color Usage In CSS
body { color: #ba8645; } p { color: rgb(186, 134, 69); } header { border-bottom:1px solid #ba8645; }