#7af2ff Color
Color Codes | |
---|---|
Hex Code | #7af2ff |
RGB Code | rgb(122, 242, 255) |
HSL Code | hsl(186, 100%, 74%) |
#7af2ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 242, 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(186, 100%, 74%); }
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 #7af2ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 242, 255, 10%) | #7af2ff1a | |
rgb(122, 242, 255, 20%) | #7af2ff33 | |
rgb(122, 242, 255, 40%) | #7af2ff4C | |
rgb(122, 242, 255, 60%) | #7af2ff99 | |
rgb(122, 242, 255, 80%) | #7af2ffCC | |
rgb(122, 242, 255, 100%) | #7af2ffFF |
Saturated and desaturated colors of #7af2ff
HSL Code | Preview |
---|---|
hsl(186, 10%, 74%) | |
hsl(186, 20%, 74%) | |
hsl(186, 40%, 74%) | |
hsl(186, 60%, 74%) | |
hsl(186, 80%, 74%) | |
hsl(186, 100%, 74%) |
#7af2ff Color Usage In CSS
body { color: #7af2ff; } p { color: rgb(122, 242, 255); } header { border-bottom:1px solid #7af2ff; }