#7a80bc Color
Color Codes | |
---|---|
Hex Code | #7a80bc |
RGB Code | rgb(122, 128, 188) |
HSL Code | hsl(235, 33%, 61%) |
#7a80bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 128, 188); }
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(235, 33%, 61%); }
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 #7a80bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 128, 188, 10%) | #7a80bc1a | |
rgb(122, 128, 188, 20%) | #7a80bc33 | |
rgb(122, 128, 188, 40%) | #7a80bc4C | |
rgb(122, 128, 188, 60%) | #7a80bc99 | |
rgb(122, 128, 188, 80%) | #7a80bcCC | |
rgb(122, 128, 188, 100%) | #7a80bcFF |
Saturated and desaturated colors of #7a80bc
HSL Code | Preview |
---|---|
hsl(235, 10%, 61%) | |
hsl(235, 20%, 61%) | |
hsl(235, 40%, 61%) | |
hsl(235, 60%, 61%) | |
hsl(235, 80%, 61%) | |
hsl(235, 100%, 61%) |
#7a80bc Color Usage In CSS
body { color: #7a80bc; } p { color: rgb(122, 128, 188); } header { border-bottom:1px solid #7a80bc; }