#7fa1ce Color
Color Codes | |
---|---|
Hex Code | #7fa1ce |
RGB Code | rgb(127, 161, 206) |
HSL Code | hsl(214, 45%, 65%) |
#7fa1ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 161, 206); }
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(214, 45%, 65%); }
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 #7fa1ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 161, 206, 10%) | #7fa1ce1a | |
rgb(127, 161, 206, 20%) | #7fa1ce33 | |
rgb(127, 161, 206, 40%) | #7fa1ce4C | |
rgb(127, 161, 206, 60%) | #7fa1ce99 | |
rgb(127, 161, 206, 80%) | #7fa1ceCC | |
rgb(127, 161, 206, 100%) | #7fa1ceFF |
Saturated and desaturated colors of #7fa1ce
HSL Code | Preview |
---|---|
hsl(214, 10%, 65%) | |
hsl(214, 20%, 65%) | |
hsl(214, 40%, 65%) | |
hsl(214, 60%, 65%) | |
hsl(214, 80%, 65%) | |
hsl(214, 100%, 65%) |
#7fa1ce Color Usage In CSS
body { color: #7fa1ce; } p { color: rgb(127, 161, 206); } header { border-bottom:1px solid #7fa1ce; }