#bc9520 Color
Color Codes | |
---|---|
Hex Code | #bc9520 |
RGB Code | rgb(188, 149, 32) |
HSL Code | hsl(45, 71%, 43%) |
#bc9520 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 149, 32); }
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(45, 71%, 43%); }
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 #bc9520
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 149, 32, 10%) | #bc95201a | |
rgb(188, 149, 32, 20%) | #bc952033 | |
rgb(188, 149, 32, 40%) | #bc95204C | |
rgb(188, 149, 32, 60%) | #bc952099 | |
rgb(188, 149, 32, 80%) | #bc9520CC | |
rgb(188, 149, 32, 100%) | #bc9520FF |
Saturated and desaturated colors of #bc9520
HSL Code | Preview |
---|---|
hsl(45, 10%, 43%) | |
hsl(45, 20%, 43%) | |
hsl(45, 40%, 43%) | |
hsl(45, 60%, 43%) | |
hsl(45, 80%, 43%) | |
hsl(45, 100%, 43%) |
#bc9520 Color Usage In CSS
body { color: #bc9520; } p { color: rgb(188, 149, 32); } header { border-bottom:1px solid #bc9520; }