#7668ab Color
Color Codes | |
---|---|
Hex Code | #7668ab |
RGB Code | rgb(118, 104, 171) |
HSL Code | hsl(253, 29%, 54%) |
#7668ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(118, 104, 171); }
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(253, 29%, 54%); }
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 #7668ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(118, 104, 171, 10%) | #7668ab1a | |
rgb(118, 104, 171, 20%) | #7668ab33 | |
rgb(118, 104, 171, 40%) | #7668ab4C | |
rgb(118, 104, 171, 60%) | #7668ab99 | |
rgb(118, 104, 171, 80%) | #7668abCC | |
rgb(118, 104, 171, 100%) | #7668abFF |
Saturated and desaturated colors of #7668ab
HSL Code | Preview |
---|---|
hsl(253, 10%, 54%) | |
hsl(253, 20%, 54%) | |
hsl(253, 40%, 54%) | |
hsl(253, 60%, 54%) | |
hsl(253, 80%, 54%) | |
hsl(253, 100%, 54%) |
#7668ab Color Usage In CSS
body { color: #7668ab; } p { color: rgb(118, 104, 171); } header { border-bottom:1px solid #7668ab; }