#2aa765 Color
Color Codes | |
---|---|
Hex Code | #2aa765 |
RGB Code | rgb(42, 167, 101) |
HSL Code | hsl(148, 60%, 41%) |
#2aa765 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(42, 167, 101); }
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(148, 60%, 41%); }
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 #2aa765
RGB Code | Hex Code | Preview |
---|---|---|
rgb(42, 167, 101, 10%) | #2aa7651a | |
rgb(42, 167, 101, 20%) | #2aa76533 | |
rgb(42, 167, 101, 40%) | #2aa7654C | |
rgb(42, 167, 101, 60%) | #2aa76599 | |
rgb(42, 167, 101, 80%) | #2aa765CC | |
rgb(42, 167, 101, 100%) | #2aa765FF |
Saturated and desaturated colors of #2aa765
HSL Code | Preview |
---|---|
hsl(148, 10%, 41%) | |
hsl(148, 20%, 41%) | |
hsl(148, 40%, 41%) | |
hsl(148, 60%, 41%) | |
hsl(148, 80%, 41%) | |
hsl(148, 100%, 41%) |
#2aa765 Color Usage In CSS
body { color: #2aa765; } p { color: rgb(42, 167, 101); } header { border-bottom:1px solid #2aa765; }