#2ad6bd Color
Color Codes | |
---|---|
Hex Code | #2ad6bd |
RGB Code | rgb(42, 214, 189) |
HSL Code | hsl(171, 68%, 50%) |
#2ad6bd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(42, 214, 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(171, 68%, 50%); }
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 #2ad6bd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(42, 214, 189, 10%) | #2ad6bd1a | |
rgb(42, 214, 189, 20%) | #2ad6bd33 | |
rgb(42, 214, 189, 40%) | #2ad6bd4C | |
rgb(42, 214, 189, 60%) | #2ad6bd99 | |
rgb(42, 214, 189, 80%) | #2ad6bdCC | |
rgb(42, 214, 189, 100%) | #2ad6bdFF |
Saturated and desaturated colors of #2ad6bd
HSL Code | Preview |
---|---|
hsl(171, 10%, 50%) | |
hsl(171, 20%, 50%) | |
hsl(171, 40%, 50%) | |
hsl(171, 60%, 50%) | |
hsl(171, 80%, 50%) | |
hsl(171, 100%, 50%) |
#2ad6bd Color Usage In CSS
body { color: #2ad6bd; } p { color: rgb(42, 214, 189); } header { border-bottom:1px solid #2ad6bd; }