#40d2d1 Color
Color Codes | |
---|---|
Hex Code | #40d2d1 |
RGB Code | rgb(64, 210, 209) |
HSL Code | hsl(180, 62%, 54%) |
#40d2d1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 210, 209); }
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(180, 62%, 54%); }
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 #40d2d1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 210, 209, 10%) | #40d2d11a | |
rgb(64, 210, 209, 20%) | #40d2d133 | |
rgb(64, 210, 209, 40%) | #40d2d14C | |
rgb(64, 210, 209, 60%) | #40d2d199 | |
rgb(64, 210, 209, 80%) | #40d2d1CC | |
rgb(64, 210, 209, 100%) | #40d2d1FF |
Saturated and desaturated colors of #40d2d1
HSL Code | Preview |
---|---|
hsl(180, 10%, 54%) | |
hsl(180, 20%, 54%) | |
hsl(180, 40%, 54%) | |
hsl(180, 60%, 54%) | |
hsl(180, 80%, 54%) | |
hsl(180, 100%, 54%) |
#40d2d1 Color Usage In CSS
body { color: #40d2d1; } p { color: rgb(64, 210, 209); } header { border-bottom:1px solid #40d2d1; }