#bcab45 Color
Color Codes | |
---|---|
Hex Code | #bcab45 |
RGB Code | rgb(188, 171, 69) |
HSL Code | hsl(51, 47%, 50%) |
#bcab45 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 171, 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(51, 47%, 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 #bcab45
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 171, 69, 10%) | #bcab451a | |
rgb(188, 171, 69, 20%) | #bcab4533 | |
rgb(188, 171, 69, 40%) | #bcab454C | |
rgb(188, 171, 69, 60%) | #bcab4599 | |
rgb(188, 171, 69, 80%) | #bcab45CC | |
rgb(188, 171, 69, 100%) | #bcab45FF |
Saturated and desaturated colors of #bcab45
HSL Code | Preview |
---|---|
hsl(51, 10%, 50%) | |
hsl(51, 20%, 50%) | |
hsl(51, 40%, 50%) | |
hsl(51, 60%, 50%) | |
hsl(51, 80%, 50%) | |
hsl(51, 100%, 50%) |
#bcab45 Color Usage In CSS
body { color: #bcab45; } p { color: rgb(188, 171, 69); } header { border-bottom:1px solid #bcab45; }