#b7c050 Color
Color Codes | |
---|---|
Hex Code | #b7c050 |
RGB Code | rgb(183, 192, 80) |
HSL Code | hsl(65, 47%, 53%) |
#b7c050 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 192, 80); }
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(65, 47%, 53%); }
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 #b7c050
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 192, 80, 10%) | #b7c0501a | |
rgb(183, 192, 80, 20%) | #b7c05033 | |
rgb(183, 192, 80, 40%) | #b7c0504C | |
rgb(183, 192, 80, 60%) | #b7c05099 | |
rgb(183, 192, 80, 80%) | #b7c050CC | |
rgb(183, 192, 80, 100%) | #b7c050FF |
Saturated and desaturated colors of #b7c050
HSL Code | Preview |
---|---|
hsl(65, 10%, 53%) | |
hsl(65, 20%, 53%) | |
hsl(65, 40%, 53%) | |
hsl(65, 60%, 53%) | |
hsl(65, 80%, 53%) | |
hsl(65, 100%, 53%) |
#b7c050 Color Usage In CSS
body { color: #b7c050; } p { color: rgb(183, 192, 80); } header { border-bottom:1px solid #b7c050; }