#8bf420 Color
Color Codes | |
---|---|
Hex Code | #8bf420 |
RGB Code | rgb(139, 244, 32) |
HSL Code | hsl(90, 91%, 54%) |
#8bf420 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(139, 244, 32); }
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(90, 91%, 54%); }
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 #8bf420
RGB Code | Hex Code | Preview |
---|---|---|
rgb(139, 244, 32, 10%) | #8bf4201a | |
rgb(139, 244, 32, 20%) | #8bf42033 | |
rgb(139, 244, 32, 40%) | #8bf4204C | |
rgb(139, 244, 32, 60%) | #8bf42099 | |
rgb(139, 244, 32, 80%) | #8bf420CC | |
rgb(139, 244, 32, 100%) | #8bf420FF |
Saturated and desaturated colors of #8bf420
HSL Code | Preview |
---|---|
hsl(90, 10%, 54%) | |
hsl(90, 20%, 54%) | |
hsl(90, 40%, 54%) | |
hsl(90, 60%, 54%) | |
hsl(90, 80%, 54%) | |
hsl(90, 100%, 54%) |
#8bf420 Color Usage In CSS
body { color: #8bf420; } p { color: rgb(139, 244, 32); } header { border-bottom:1px solid #8bf420; }