#7c85ac Color
Color Codes | |
---|---|
Hex Code | #7c85ac |
RGB Code | rgb(124, 133, 172) |
HSL Code | hsl(229, 22%, 58%) |
#7c85ac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 133, 172); }
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(229, 22%, 58%); }
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 #7c85ac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 133, 172, 10%) | #7c85ac1a | |
rgb(124, 133, 172, 20%) | #7c85ac33 | |
rgb(124, 133, 172, 40%) | #7c85ac4C | |
rgb(124, 133, 172, 60%) | #7c85ac99 | |
rgb(124, 133, 172, 80%) | #7c85acCC | |
rgb(124, 133, 172, 100%) | #7c85acFF |
Saturated and desaturated colors of #7c85ac
HSL Code | Preview |
---|---|
hsl(229, 10%, 58%) | |
hsl(229, 20%, 58%) | |
hsl(229, 40%, 58%) | |
hsl(229, 60%, 58%) | |
hsl(229, 80%, 58%) | |
hsl(229, 100%, 58%) |
#7c85ac Color Usage In CSS
body { color: #7c85ac; } p { color: rgb(124, 133, 172); } header { border-bottom:1px solid #7c85ac; }