#2eb8a0 Color
Color Codes | |
---|---|
Hex Code | #2eb8a0 |
RGB Code | rgb(46, 184, 160) |
HSL Code | hsl(170, 60%, 45%) |
#2eb8a0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 184, 160); }
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, 60%, 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 #2eb8a0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 184, 160, 10%) | #2eb8a01a | |
rgb(46, 184, 160, 20%) | #2eb8a033 | |
rgb(46, 184, 160, 40%) | #2eb8a04C | |
rgb(46, 184, 160, 60%) | #2eb8a099 | |
rgb(46, 184, 160, 80%) | #2eb8a0CC | |
rgb(46, 184, 160, 100%) | #2eb8a0FF |
Saturated and desaturated colors of #2eb8a0
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%) |
#2eb8a0 Color Usage In CSS
body { color: #2eb8a0; } p { color: rgb(46, 184, 160); } header { border-bottom:1px solid #2eb8a0; }