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