#40ae8f Color
Color Codes | |
---|---|
Hex Code | #40ae8f |
RGB Code | rgb(64, 174, 143) |
HSL Code | hsl(163, 46%, 47%) |
#40ae8f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 174, 143); }
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(163, 46%, 47%); }
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 #40ae8f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 174, 143, 10%) | #40ae8f1a | |
rgb(64, 174, 143, 20%) | #40ae8f33 | |
rgb(64, 174, 143, 40%) | #40ae8f4C | |
rgb(64, 174, 143, 60%) | #40ae8f99 | |
rgb(64, 174, 143, 80%) | #40ae8fCC | |
rgb(64, 174, 143, 100%) | #40ae8fFF |
Saturated and desaturated colors of #40ae8f
HSL Code | Preview |
---|---|
hsl(163, 10%, 47%) | |
hsl(163, 20%, 47%) | |
hsl(163, 40%, 47%) | |
hsl(163, 60%, 47%) | |
hsl(163, 80%, 47%) | |
hsl(163, 100%, 47%) |
#40ae8f Color Usage In CSS
body { color: #40ae8f; } p { color: rgb(64, 174, 143); } header { border-bottom:1px solid #40ae8f; }