#bb9745 Color
Color Codes | |
---|---|
Hex Code | #bb9745 |
RGB Code | rgb(187, 151, 69) |
HSL Code | hsl(42, 46%, 50%) |
#bb9745 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 151, 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(42, 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 #bb9745
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 151, 69, 10%) | #bb97451a | |
rgb(187, 151, 69, 20%) | #bb974533 | |
rgb(187, 151, 69, 40%) | #bb97454C | |
rgb(187, 151, 69, 60%) | #bb974599 | |
rgb(187, 151, 69, 80%) | #bb9745CC | |
rgb(187, 151, 69, 100%) | #bb9745FF |
Saturated and desaturated colors of #bb9745
HSL Code | Preview |
---|---|
hsl(42, 10%, 50%) | |
hsl(42, 20%, 50%) | |
hsl(42, 40%, 50%) | |
hsl(42, 60%, 50%) | |
hsl(42, 80%, 50%) | |
hsl(42, 100%, 50%) |
#bb9745 Color Usage In CSS
body { color: #bb9745; } p { color: rgb(187, 151, 69); } header { border-bottom:1px solid #bb9745; }