#9bb449 Color
Color Codes | |
---|---|
Hex Code | #9bb449 |
RGB Code | rgb(155, 180, 73) |
HSL Code | hsl(74, 42%, 50%) |
#9bb449 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 180, 73); }
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(74, 42%, 50%); }
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 #9bb449
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 180, 73, 10%) | #9bb4491a | |
rgb(155, 180, 73, 20%) | #9bb44933 | |
rgb(155, 180, 73, 40%) | #9bb4494C | |
rgb(155, 180, 73, 60%) | #9bb44999 | |
rgb(155, 180, 73, 80%) | #9bb449CC | |
rgb(155, 180, 73, 100%) | #9bb449FF |
Saturated and desaturated colors of #9bb449
HSL Code | Preview |
---|---|
hsl(74, 10%, 50%) | |
hsl(74, 20%, 50%) | |
hsl(74, 40%, 50%) | |
hsl(74, 60%, 50%) | |
hsl(74, 80%, 50%) | |
hsl(74, 100%, 50%) |
#9bb449 Color Usage In CSS
body { color: #9bb449; } p { color: rgb(155, 180, 73); } header { border-bottom:1px solid #9bb449; }