#40cfff Color
Color Codes | |
---|---|
Hex Code | #40cfff |
RGB Code | rgb(64, 207, 255) |
HSL Code | hsl(195, 100%, 63%) |
#40cfff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 207, 255); }
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(195, 100%, 63%); }
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 #40cfff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 207, 255, 10%) | #40cfff1a | |
rgb(64, 207, 255, 20%) | #40cfff33 | |
rgb(64, 207, 255, 40%) | #40cfff4C | |
rgb(64, 207, 255, 60%) | #40cfff99 | |
rgb(64, 207, 255, 80%) | #40cfffCC | |
rgb(64, 207, 255, 100%) | #40cfffFF |
Saturated and desaturated colors of #40cfff
HSL Code | Preview |
---|---|
hsl(195, 10%, 63%) | |
hsl(195, 20%, 63%) | |
hsl(195, 40%, 63%) | |
hsl(195, 60%, 63%) | |
hsl(195, 80%, 63%) | |
hsl(195, 100%, 63%) |
#40cfff Color Usage In CSS
body { color: #40cfff; } p { color: rgb(64, 207, 255); } header { border-bottom:1px solid #40cfff; }