#7ec4fb Color
Color Codes | |
---|---|
Hex Code | #7ec4fb |
RGB Code | rgb(126, 196, 251) |
HSL Code | hsl(206, 94%, 74%) |
#7ec4fb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(126, 196, 251); }
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(206, 94%, 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 #7ec4fb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(126, 196, 251, 10%) | #7ec4fb1a | |
rgb(126, 196, 251, 20%) | #7ec4fb33 | |
rgb(126, 196, 251, 40%) | #7ec4fb4C | |
rgb(126, 196, 251, 60%) | #7ec4fb99 | |
rgb(126, 196, 251, 80%) | #7ec4fbCC | |
rgb(126, 196, 251, 100%) | #7ec4fbFF |
Saturated and desaturated colors of #7ec4fb
HSL Code | Preview |
---|---|
hsl(206, 10%, 74%) | |
hsl(206, 20%, 74%) | |
hsl(206, 40%, 74%) | |
hsl(206, 60%, 74%) | |
hsl(206, 80%, 74%) | |
hsl(206, 100%, 74%) |
#7ec4fb Color Usage In CSS
body { color: #7ec4fb; } p { color: rgb(126, 196, 251); } header { border-bottom:1px solid #7ec4fb; }