#a1cb96 Color
Color Codes | |
---|---|
Hex Code | #a1cb96 |
RGB Code | rgb(161, 203, 150) |
HSL Code | hsl(108, 34%, 69%) |
#a1cb96 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 203, 150); }
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, 34%, 69%); }
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 #a1cb96
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 203, 150, 10%) | #a1cb961a | |
rgb(161, 203, 150, 20%) | #a1cb9633 | |
rgb(161, 203, 150, 40%) | #a1cb964C | |
rgb(161, 203, 150, 60%) | #a1cb9699 | |
rgb(161, 203, 150, 80%) | #a1cb96CC | |
rgb(161, 203, 150, 100%) | #a1cb96FF |
Saturated and desaturated colors of #a1cb96
HSL Code | Preview |
---|---|
hsl(108, 10%, 69%) | |
hsl(108, 20%, 69%) | |
hsl(108, 40%, 69%) | |
hsl(108, 60%, 69%) | |
hsl(108, 80%, 69%) | |
hsl(108, 100%, 69%) |
#a1cb96 Color Usage In CSS
body { color: #a1cb96; } p { color: rgb(161, 203, 150); } header { border-bottom:1px solid #a1cb96; }