#2cb9a1 Color
Color Codes | |
---|---|
Hex Code | #2cb9a1 |
RGB Code | rgb(44, 185, 161) |
HSL Code | hsl(170, 62%, 45%) |
#2cb9a1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(44, 185, 161); }
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(170, 62%, 45%); }
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 #2cb9a1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(44, 185, 161, 10%) | #2cb9a11a | |
rgb(44, 185, 161, 20%) | #2cb9a133 | |
rgb(44, 185, 161, 40%) | #2cb9a14C | |
rgb(44, 185, 161, 60%) | #2cb9a199 | |
rgb(44, 185, 161, 80%) | #2cb9a1CC | |
rgb(44, 185, 161, 100%) | #2cb9a1FF |
Saturated and desaturated colors of #2cb9a1
HSL Code | Preview |
---|---|
hsl(170, 10%, 45%) | |
hsl(170, 20%, 45%) | |
hsl(170, 40%, 45%) | |
hsl(170, 60%, 45%) | |
hsl(170, 80%, 45%) | |
hsl(170, 100%, 45%) |
#2cb9a1 Color Usage In CSS
body { color: #2cb9a1; } p { color: rgb(44, 185, 161); } header { border-bottom:1px solid #2cb9a1; }