#b7e428 Color
Color Codes | |
---|---|
Hex Code | #b7e428 |
RGB Code | rgb(183, 228, 40) |
HSL Code | hsl(74, 78%, 53%) |
#b7e428 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 228, 40); }
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(74, 78%, 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 #b7e428
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 228, 40, 10%) | #b7e4281a | |
rgb(183, 228, 40, 20%) | #b7e42833 | |
rgb(183, 228, 40, 40%) | #b7e4284C | |
rgb(183, 228, 40, 60%) | #b7e42899 | |
rgb(183, 228, 40, 80%) | #b7e428CC | |
rgb(183, 228, 40, 100%) | #b7e428FF |
Saturated and desaturated colors of #b7e428
HSL Code | Preview |
---|---|
hsl(74, 10%, 53%) | |
hsl(74, 20%, 53%) | |
hsl(74, 40%, 53%) | |
hsl(74, 60%, 53%) | |
hsl(74, 80%, 53%) | |
hsl(74, 100%, 53%) |
#b7e428 Color Usage In CSS
body { color: #b7e428; } p { color: rgb(183, 228, 40); } header { border-bottom:1px solid #b7e428; }