#78628e Color
Color Codes | |
---|---|
Hex Code | #78628e |
RGB Code | rgb(120, 98, 142) |
HSL Code | hsl(270, 18%, 47%) |
#78628e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 98, 142); }
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(270, 18%, 47%); }
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 #78628e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 98, 142, 10%) | #78628e1a | |
rgb(120, 98, 142, 20%) | #78628e33 | |
rgb(120, 98, 142, 40%) | #78628e4C | |
rgb(120, 98, 142, 60%) | #78628e99 | |
rgb(120, 98, 142, 80%) | #78628eCC | |
rgb(120, 98, 142, 100%) | #78628eFF |
Saturated and desaturated colors of #78628e
HSL Code | Preview |
---|---|
hsl(270, 10%, 47%) | |
hsl(270, 20%, 47%) | |
hsl(270, 40%, 47%) | |
hsl(270, 60%, 47%) | |
hsl(270, 80%, 47%) | |
hsl(270, 100%, 47%) |
#78628e Color Usage In CSS
body { color: #78628e; } p { color: rgb(120, 98, 142); } header { border-bottom:1px solid #78628e; }