#4bb508 Color
Color Codes | |
---|---|
Hex Code | #4bb508 |
RGB Code | rgb(75, 181, 08) |
HSL Code | hsl(97, 92%, 37%) |
#4bb508 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 181, 08); }
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(97, 92%, 37%); }
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 #4bb508
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 181, 08, 10%) | #4bb5081a | |
rgb(75, 181, 08, 20%) | #4bb50833 | |
rgb(75, 181, 08, 40%) | #4bb5084C | |
rgb(75, 181, 08, 60%) | #4bb50899 | |
rgb(75, 181, 08, 80%) | #4bb508CC | |
rgb(75, 181, 08, 100%) | #4bb508FF |
Saturated and desaturated colors of #4bb508
HSL Code | Preview |
---|---|
hsl(97, 10%, 37%) | |
hsl(97, 20%, 37%) | |
hsl(97, 40%, 37%) | |
hsl(97, 60%, 37%) | |
hsl(97, 80%, 37%) | |
hsl(97, 100%, 37%) |
#4bb508 Color Usage In CSS
body { color: #4bb508; } p { color: rgb(75, 181, 08); } header { border-bottom:1px solid #4bb508; }