#b4f98a Color
Color Codes | |
---|---|
Hex Code | #b4f98a |
RGB Code | rgb(180, 249, 138) |
HSL Code | hsl(97, 90%, 76%) |
#b4f98a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(180, 249, 138); }
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(97, 90%, 76%); }
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 #b4f98a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(180, 249, 138, 10%) | #b4f98a1a | |
rgb(180, 249, 138, 20%) | #b4f98a33 | |
rgb(180, 249, 138, 40%) | #b4f98a4C | |
rgb(180, 249, 138, 60%) | #b4f98a99 | |
rgb(180, 249, 138, 80%) | #b4f98aCC | |
rgb(180, 249, 138, 100%) | #b4f98aFF |
Saturated and desaturated colors of #b4f98a
HSL Code | Preview |
---|---|
hsl(97, 10%, 76%) | |
hsl(97, 20%, 76%) | |
hsl(97, 40%, 76%) | |
hsl(97, 60%, 76%) | |
hsl(97, 80%, 76%) | |
hsl(97, 100%, 76%) |
#b4f98a Color Usage In CSS
body { color: #b4f98a; } p { color: rgb(180, 249, 138); } header { border-bottom:1px solid #b4f98a; }