#9bcb38 Color
Color Codes | |
---|---|
Hex Code | #9bcb38 |
RGB Code | rgb(155, 203, 56) |
HSL Code | hsl(80, 59%, 51%) |
#9bcb38 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 203, 56); }
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(80, 59%, 51%); }
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 #9bcb38
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 203, 56, 10%) | #9bcb381a | |
rgb(155, 203, 56, 20%) | #9bcb3833 | |
rgb(155, 203, 56, 40%) | #9bcb384C | |
rgb(155, 203, 56, 60%) | #9bcb3899 | |
rgb(155, 203, 56, 80%) | #9bcb38CC | |
rgb(155, 203, 56, 100%) | #9bcb38FF |
Saturated and desaturated colors of #9bcb38
HSL Code | Preview |
---|---|
hsl(80, 10%, 51%) | |
hsl(80, 20%, 51%) | |
hsl(80, 40%, 51%) | |
hsl(80, 60%, 51%) | |
hsl(80, 80%, 51%) | |
hsl(80, 100%, 51%) |
#9bcb38 Color Usage In CSS
body { color: #9bcb38; } p { color: rgb(155, 203, 56); } header { border-bottom:1px solid #9bcb38; }