#9bc30b Color
Color Codes | |
---|---|
Hex Code | #9bc30b |
RGB Code | rgb(155, 195, 11) |
HSL Code | hsl(73, 89%, 40%) |
#9bc30b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 195, 11); }
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(73, 89%, 40%); }
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 #9bc30b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 195, 11, 10%) | #9bc30b1a | |
rgb(155, 195, 11, 20%) | #9bc30b33 | |
rgb(155, 195, 11, 40%) | #9bc30b4C | |
rgb(155, 195, 11, 60%) | #9bc30b99 | |
rgb(155, 195, 11, 80%) | #9bc30bCC | |
rgb(155, 195, 11, 100%) | #9bc30bFF |
Saturated and desaturated colors of #9bc30b
HSL Code | Preview |
---|---|
hsl(73, 10%, 40%) | |
hsl(73, 20%, 40%) | |
hsl(73, 40%, 40%) | |
hsl(73, 60%, 40%) | |
hsl(73, 80%, 40%) | |
hsl(73, 100%, 40%) |
#9bc30b Color Usage In CSS
body { color: #9bc30b; } p { color: rgb(155, 195, 11); } header { border-bottom:1px solid #9bc30b; }