#2af7c4 Color
Color Codes | |
---|---|
Hex Code | #2af7c4 |
RGB Code | rgb(42, 247, 196) |
HSL Code | hsl(165, 93%, 57%) |
#2af7c4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(42, 247, 196); }
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(165, 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 #2af7c4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(42, 247, 196, 10%) | #2af7c41a | |
rgb(42, 247, 196, 20%) | #2af7c433 | |
rgb(42, 247, 196, 40%) | #2af7c44C | |
rgb(42, 247, 196, 60%) | #2af7c499 | |
rgb(42, 247, 196, 80%) | #2af7c4CC | |
rgb(42, 247, 196, 100%) | #2af7c4FF |
Saturated and desaturated colors of #2af7c4
HSL Code | Preview |
---|---|
hsl(165, 10%, 57%) | |
hsl(165, 20%, 57%) | |
hsl(165, 40%, 57%) | |
hsl(165, 60%, 57%) | |
hsl(165, 80%, 57%) | |
hsl(165, 100%, 57%) |
#2af7c4 Color Usage In CSS
body { color: #2af7c4; } p { color: rgb(42, 247, 196); } header { border-bottom:1px solid #2af7c4; }