#b6e525 Color
Color Codes | |
---|---|
Hex Code | #b6e525 |
RGB Code | rgb(182, 229, 37) |
HSL Code | hsl(75, 79%, 52%) |
#b6e525 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 229, 37); }
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(75, 79%, 52%); }
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 #b6e525
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 229, 37, 10%) | #b6e5251a | |
rgb(182, 229, 37, 20%) | #b6e52533 | |
rgb(182, 229, 37, 40%) | #b6e5254C | |
rgb(182, 229, 37, 60%) | #b6e52599 | |
rgb(182, 229, 37, 80%) | #b6e525CC | |
rgb(182, 229, 37, 100%) | #b6e525FF |
Saturated and desaturated colors of #b6e525
HSL Code | Preview |
---|---|
hsl(75, 10%, 52%) | |
hsl(75, 20%, 52%) | |
hsl(75, 40%, 52%) | |
hsl(75, 60%, 52%) | |
hsl(75, 80%, 52%) | |
hsl(75, 100%, 52%) |
#b6e525 Color Usage In CSS
body { color: #b6e525; } p { color: rgb(182, 229, 37); } header { border-bottom:1px solid #b6e525; }