#b8fb9c Color
Color Codes | |
---|---|
Hex Code | #b8fb9c |
RGB Code | rgb(184, 251, 156) |
HSL Code | hsl(102, 92%, 80%) |
#b8fb9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 251, 156); }
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(102, 92%, 80%); }
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 #b8fb9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 251, 156, 10%) | #b8fb9c1a | |
rgb(184, 251, 156, 20%) | #b8fb9c33 | |
rgb(184, 251, 156, 40%) | #b8fb9c4C | |
rgb(184, 251, 156, 60%) | #b8fb9c99 | |
rgb(184, 251, 156, 80%) | #b8fb9cCC | |
rgb(184, 251, 156, 100%) | #b8fb9cFF |
Saturated and desaturated colors of #b8fb9c
HSL Code | Preview |
---|---|
hsl(102, 10%, 80%) | |
hsl(102, 20%, 80%) | |
hsl(102, 40%, 80%) | |
hsl(102, 60%, 80%) | |
hsl(102, 80%, 80%) | |
hsl(102, 100%, 80%) |
#b8fb9c Color Usage In CSS
body { color: #b8fb9c; } p { color: rgb(184, 251, 156); } header { border-bottom:1px solid #b8fb9c; }