#bdba45 Color
Color Codes | |
---|---|
Hex Code | #bdba45 |
RGB Code | rgb(189, 186, 69) |
HSL Code | hsl(59, 48%, 51%) |
#bdba45 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 186, 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(59, 48%, 51%); }
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 #bdba45
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 186, 69, 10%) | #bdba451a | |
rgb(189, 186, 69, 20%) | #bdba4533 | |
rgb(189, 186, 69, 40%) | #bdba454C | |
rgb(189, 186, 69, 60%) | #bdba4599 | |
rgb(189, 186, 69, 80%) | #bdba45CC | |
rgb(189, 186, 69, 100%) | #bdba45FF |
Saturated and desaturated colors of #bdba45
HSL Code | Preview |
---|---|
hsl(59, 10%, 51%) | |
hsl(59, 20%, 51%) | |
hsl(59, 40%, 51%) | |
hsl(59, 60%, 51%) | |
hsl(59, 80%, 51%) | |
hsl(59, 100%, 51%) |
#bdba45 Color Usage In CSS
body { color: #bdba45; } p { color: rgb(189, 186, 69); } header { border-bottom:1px solid #bdba45; }