#2df7d4 Color
Color Codes | |
---|---|
Hex Code | #2df7d4 |
RGB Code | rgb(45, 247, 212) |
HSL Code | hsl(170, 93%, 57%) |
#2df7d4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 247, 212); }
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, 93%, 57%); }
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 #2df7d4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 247, 212, 10%) | #2df7d41a | |
rgb(45, 247, 212, 20%) | #2df7d433 | |
rgb(45, 247, 212, 40%) | #2df7d44C | |
rgb(45, 247, 212, 60%) | #2df7d499 | |
rgb(45, 247, 212, 80%) | #2df7d4CC | |
rgb(45, 247, 212, 100%) | #2df7d4FF |
Saturated and desaturated colors of #2df7d4
HSL Code | Preview |
---|---|
hsl(170, 10%, 57%) | |
hsl(170, 20%, 57%) | |
hsl(170, 40%, 57%) | |
hsl(170, 60%, 57%) | |
hsl(170, 80%, 57%) | |
hsl(170, 100%, 57%) |
#2df7d4 Color Usage In CSS
body { color: #2df7d4; } p { color: rgb(45, 247, 212); } header { border-bottom:1px solid #2df7d4; }