#97b11b Color
Color Codes | |
---|---|
Hex Code | #97b11b |
RGB Code | rgb(151, 177, 27) |
HSL Code | hsl(70, 74%, 40%) |
#97b11b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 177, 27); }
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(70, 74%, 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 #97b11b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 177, 27, 10%) | #97b11b1a | |
rgb(151, 177, 27, 20%) | #97b11b33 | |
rgb(151, 177, 27, 40%) | #97b11b4C | |
rgb(151, 177, 27, 60%) | #97b11b99 | |
rgb(151, 177, 27, 80%) | #97b11bCC | |
rgb(151, 177, 27, 100%) | #97b11bFF |
Saturated and desaturated colors of #97b11b
HSL Code | Preview |
---|---|
hsl(70, 10%, 40%) | |
hsl(70, 20%, 40%) | |
hsl(70, 40%, 40%) | |
hsl(70, 60%, 40%) | |
hsl(70, 80%, 40%) | |
hsl(70, 100%, 40%) |
#97b11b Color Usage In CSS
body { color: #97b11b; } p { color: rgb(151, 177, 27); } header { border-bottom:1px solid #97b11b; }