#97e31b Color
Color Codes | |
---|---|
Hex Code | #97e31b |
RGB Code | rgb(151, 227, 27) |
HSL Code | hsl(83, 79%, 50%) |
#97e31b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(151, 227, 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(83, 79%, 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 #97e31b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(151, 227, 27, 10%) | #97e31b1a | |
rgb(151, 227, 27, 20%) | #97e31b33 | |
rgb(151, 227, 27, 40%) | #97e31b4C | |
rgb(151, 227, 27, 60%) | #97e31b99 | |
rgb(151, 227, 27, 80%) | #97e31bCC | |
rgb(151, 227, 27, 100%) | #97e31bFF |
Saturated and desaturated colors of #97e31b
HSL Code | Preview |
---|---|
hsl(83, 10%, 50%) | |
hsl(83, 20%, 50%) | |
hsl(83, 40%, 50%) | |
hsl(83, 60%, 50%) | |
hsl(83, 80%, 50%) | |
hsl(83, 100%, 50%) |
#97e31b Color Usage In CSS
body { color: #97e31b; } p { color: rgb(151, 227, 27); } header { border-bottom:1px solid #97e31b; }