#b6c548 Color
Color Codes | |
---|---|
Hex Code | #b6c548 |
RGB Code | rgb(182, 197, 72) |
HSL Code | hsl(67, 52%, 53%) |
#b6c548 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 197, 72); }
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(67, 52%, 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 #b6c548
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 197, 72, 10%) | #b6c5481a | |
rgb(182, 197, 72, 20%) | #b6c54833 | |
rgb(182, 197, 72, 40%) | #b6c5484C | |
rgb(182, 197, 72, 60%) | #b6c54899 | |
rgb(182, 197, 72, 80%) | #b6c548CC | |
rgb(182, 197, 72, 100%) | #b6c548FF |
Saturated and desaturated colors of #b6c548
HSL Code | Preview |
---|---|
hsl(67, 10%, 53%) | |
hsl(67, 20%, 53%) | |
hsl(67, 40%, 53%) | |
hsl(67, 60%, 53%) | |
hsl(67, 80%, 53%) | |
hsl(67, 100%, 53%) |
#b6c548 Color Usage In CSS
body { color: #b6c548; } p { color: rgb(182, 197, 72); } header { border-bottom:1px solid #b6c548; }