#8bb41c Color
Color Codes | |
---|---|
Hex Code | #8bb41c |
RGB Code | rgb(139, 180, 28) |
HSL Code | hsl(76, 73%, 41%) |
#8bb41c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(139, 180, 28); }
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(76, 73%, 41%); }
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 #8bb41c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(139, 180, 28, 10%) | #8bb41c1a | |
rgb(139, 180, 28, 20%) | #8bb41c33 | |
rgb(139, 180, 28, 40%) | #8bb41c4C | |
rgb(139, 180, 28, 60%) | #8bb41c99 | |
rgb(139, 180, 28, 80%) | #8bb41cCC | |
rgb(139, 180, 28, 100%) | #8bb41cFF |
Saturated and desaturated colors of #8bb41c
HSL Code | Preview |
---|---|
hsl(76, 10%, 41%) | |
hsl(76, 20%, 41%) | |
hsl(76, 40%, 41%) | |
hsl(76, 60%, 41%) | |
hsl(76, 80%, 41%) | |
hsl(76, 100%, 41%) |
#8bb41c Color Usage In CSS
body { color: #8bb41c; } p { color: rgb(139, 180, 28); } header { border-bottom:1px solid #8bb41c; }