#b2e4a6 Color
Color Codes | |
---|---|
Hex Code | #b2e4a6 |
RGB Code | rgb(178, 228, 166) |
HSL Code | hsl(108, 53%, 77%) |
#b2e4a6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 228, 166); }
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(108, 53%, 77%); }
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 #b2e4a6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 228, 166, 10%) | #b2e4a61a | |
rgb(178, 228, 166, 20%) | #b2e4a633 | |
rgb(178, 228, 166, 40%) | #b2e4a64C | |
rgb(178, 228, 166, 60%) | #b2e4a699 | |
rgb(178, 228, 166, 80%) | #b2e4a6CC | |
rgb(178, 228, 166, 100%) | #b2e4a6FF |
Saturated and desaturated colors of #b2e4a6
HSL Code | Preview |
---|---|
hsl(108, 10%, 77%) | |
hsl(108, 20%, 77%) | |
hsl(108, 40%, 77%) | |
hsl(108, 60%, 77%) | |
hsl(108, 80%, 77%) | |
hsl(108, 100%, 77%) |
#b2e4a6 Color Usage In CSS
body { color: #b2e4a6; } p { color: rgb(178, 228, 166); } header { border-bottom:1px solid #b2e4a6; }