#a2fbbd Color
Color Codes | |
---|---|
Hex Code | #a2fbbd |
RGB Code | rgb(162, 251, 189) |
HSL Code | hsl(138, 92%, 81%) |
#a2fbbd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(162, 251, 189); }
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(138, 92%, 81%); }
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 #a2fbbd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(162, 251, 189, 10%) | #a2fbbd1a | |
rgb(162, 251, 189, 20%) | #a2fbbd33 | |
rgb(162, 251, 189, 40%) | #a2fbbd4C | |
rgb(162, 251, 189, 60%) | #a2fbbd99 | |
rgb(162, 251, 189, 80%) | #a2fbbdCC | |
rgb(162, 251, 189, 100%) | #a2fbbdFF |
Saturated and desaturated colors of #a2fbbd
HSL Code | Preview |
---|---|
hsl(138, 10%, 81%) | |
hsl(138, 20%, 81%) | |
hsl(138, 40%, 81%) | |
hsl(138, 60%, 81%) | |
hsl(138, 80%, 81%) | |
hsl(138, 100%, 81%) |
#a2fbbd Color Usage In CSS
body { color: #a2fbbd; } p { color: rgb(162, 251, 189); } header { border-bottom:1px solid #a2fbbd; }