#ba6a41 Color
Color Codes | |
---|---|
Hex Code | #ba6a41 |
RGB Code | rgb(186, 106, 65) |
HSL Code | hsl(20, 48%, 49%) |
#ba6a41 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 106, 65); }
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(20, 48%, 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 #ba6a41
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 106, 65, 10%) | #ba6a411a | |
rgb(186, 106, 65, 20%) | #ba6a4133 | |
rgb(186, 106, 65, 40%) | #ba6a414C | |
rgb(186, 106, 65, 60%) | #ba6a4199 | |
rgb(186, 106, 65, 80%) | #ba6a41CC | |
rgb(186, 106, 65, 100%) | #ba6a41FF |
Saturated and desaturated colors of #ba6a41
HSL Code | Preview |
---|---|
hsl(20, 10%, 49%) | |
hsl(20, 20%, 49%) | |
hsl(20, 40%, 49%) | |
hsl(20, 60%, 49%) | |
hsl(20, 80%, 49%) | |
hsl(20, 100%, 49%) |
#ba6a41 Color Usage In CSS
body { color: #ba6a41; } p { color: rgb(186, 106, 65); } header { border-bottom:1px solid #ba6a41; }