#bc9a0f Color
Color Codes | |
---|---|
Hex Code | #bc9a0f |
RGB Code | rgb(188, 154, 15) |
HSL Code | hsl(48, 85%, 40%) |
#bc9a0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(188, 154, 15); }
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(48, 85%, 40%); }
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 #bc9a0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(188, 154, 15, 10%) | #bc9a0f1a | |
rgb(188, 154, 15, 20%) | #bc9a0f33 | |
rgb(188, 154, 15, 40%) | #bc9a0f4C | |
rgb(188, 154, 15, 60%) | #bc9a0f99 | |
rgb(188, 154, 15, 80%) | #bc9a0fCC | |
rgb(188, 154, 15, 100%) | #bc9a0fFF |
Saturated and desaturated colors of #bc9a0f
HSL Code | Preview |
---|---|
hsl(48, 10%, 40%) | |
hsl(48, 20%, 40%) | |
hsl(48, 40%, 40%) | |
hsl(48, 60%, 40%) | |
hsl(48, 80%, 40%) | |
hsl(48, 100%, 40%) |
#bc9a0f Color Usage In CSS
body { color: #bc9a0f; } p { color: rgb(188, 154, 15); } header { border-bottom:1px solid #bc9a0f; }