#4af2fa Color
Color Codes | |
---|---|
Hex Code | #4af2fa |
RGB Code | rgb(74, 242, 250) |
HSL Code | hsl(183, 95%, 64%) |
#4af2fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(74, 242, 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(183, 95%, 64%); }
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 #4af2fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(74, 242, 250, 10%) | #4af2fa1a | |
rgb(74, 242, 250, 20%) | #4af2fa33 | |
rgb(74, 242, 250, 40%) | #4af2fa4C | |
rgb(74, 242, 250, 60%) | #4af2fa99 | |
rgb(74, 242, 250, 80%) | #4af2faCC | |
rgb(74, 242, 250, 100%) | #4af2faFF |
Saturated and desaturated colors of #4af2fa
HSL Code | Preview |
---|---|
hsl(183, 10%, 64%) | |
hsl(183, 20%, 64%) | |
hsl(183, 40%, 64%) | |
hsl(183, 60%, 64%) | |
hsl(183, 80%, 64%) | |
hsl(183, 100%, 64%) |
#4af2fa Color Usage In CSS
body { color: #4af2fa; } p { color: rgb(74, 242, 250); } header { border-bottom:1px solid #4af2fa; }