#42efd7 Color
Color Codes | |
---|---|
Hex Code | #42efd7 |
RGB Code | rgb(66, 239, 215) |
HSL Code | hsl(172, 84%, 60%) |
#42efd7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(66, 239, 215); }
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(172, 84%, 60%); }
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 #42efd7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(66, 239, 215, 10%) | #42efd71a | |
rgb(66, 239, 215, 20%) | #42efd733 | |
rgb(66, 239, 215, 40%) | #42efd74C | |
rgb(66, 239, 215, 60%) | #42efd799 | |
rgb(66, 239, 215, 80%) | #42efd7CC | |
rgb(66, 239, 215, 100%) | #42efd7FF |
Saturated and desaturated colors of #42efd7
HSL Code | Preview |
---|---|
hsl(172, 10%, 60%) | |
hsl(172, 20%, 60%) | |
hsl(172, 40%, 60%) | |
hsl(172, 60%, 60%) | |
hsl(172, 80%, 60%) | |
hsl(172, 100%, 60%) |
#42efd7 Color Usage In CSS
body { color: #42efd7; } p { color: rgb(66, 239, 215); } header { border-bottom:1px solid #42efd7; }