#40fdfa Color
Color Codes | |
---|---|
Hex Code | #40fdfa |
RGB Code | rgb(64, 253, 250) |
HSL Code | hsl(179, 98%, 62%) |
#40fdfa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 253, 250); }
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(179, 98%, 62%); }
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 #40fdfa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 253, 250, 10%) | #40fdfa1a | |
rgb(64, 253, 250, 20%) | #40fdfa33 | |
rgb(64, 253, 250, 40%) | #40fdfa4C | |
rgb(64, 253, 250, 60%) | #40fdfa99 | |
rgb(64, 253, 250, 80%) | #40fdfaCC | |
rgb(64, 253, 250, 100%) | #40fdfaFF |
Saturated and desaturated colors of #40fdfa
HSL Code | Preview |
---|---|
hsl(179, 10%, 62%) | |
hsl(179, 20%, 62%) | |
hsl(179, 40%, 62%) | |
hsl(179, 60%, 62%) | |
hsl(179, 80%, 62%) | |
hsl(179, 100%, 62%) |
#40fdfa Color Usage In CSS
body { color: #40fdfa; } p { color: rgb(64, 253, 250); } header { border-bottom:1px solid #40fdfa; }