#b1f226 Color
Color Codes | |
---|---|
Hex Code | #b1f226 |
RGB Code | rgb(177, 242, 38) |
HSL Code | hsl(79, 89%, 55%) |
#b1f226 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 242, 38); }
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(79, 89%, 55%); }
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 #b1f226
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 242, 38, 10%) | #b1f2261a | |
rgb(177, 242, 38, 20%) | #b1f22633 | |
rgb(177, 242, 38, 40%) | #b1f2264C | |
rgb(177, 242, 38, 60%) | #b1f22699 | |
rgb(177, 242, 38, 80%) | #b1f226CC | |
rgb(177, 242, 38, 100%) | #b1f226FF |
Saturated and desaturated colors of #b1f226
HSL Code | Preview |
---|---|
hsl(79, 10%, 55%) | |
hsl(79, 20%, 55%) | |
hsl(79, 40%, 55%) | |
hsl(79, 60%, 55%) | |
hsl(79, 80%, 55%) | |
hsl(79, 100%, 55%) |
#b1f226 Color Usage In CSS
body { color: #b1f226; } p { color: rgb(177, 242, 38); } header { border-bottom:1px solid #b1f226; }