#b3b040 Color
Color Codes | |
---|---|
Hex Code | #b3b040 |
RGB Code | rgb(179, 176, 64) |
HSL Code | hsl(58, 47%, 48%) |
#b3b040 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 176, 64); }
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(58, 47%, 48%); }
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 #b3b040
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 176, 64, 10%) | #b3b0401a | |
rgb(179, 176, 64, 20%) | #b3b04033 | |
rgb(179, 176, 64, 40%) | #b3b0404C | |
rgb(179, 176, 64, 60%) | #b3b04099 | |
rgb(179, 176, 64, 80%) | #b3b040CC | |
rgb(179, 176, 64, 100%) | #b3b040FF |
Saturated and desaturated colors of #b3b040
HSL Code | Preview |
---|---|
hsl(58, 10%, 48%) | |
hsl(58, 20%, 48%) | |
hsl(58, 40%, 48%) | |
hsl(58, 60%, 48%) | |
hsl(58, 80%, 48%) | |
hsl(58, 100%, 48%) |
#b3b040 Color Usage In CSS
body { color: #b3b040; } p { color: rgb(179, 176, 64); } header { border-bottom:1px solid #b3b040; }