#5e7aa0 Color
Color Codes | |
---|---|
Hex Code | #5e7aa0 |
RGB Code | rgb(94, 122, 160) |
HSL Code | hsl(215, 26%, 50%) |
#5e7aa0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 122, 160); }
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(215, 26%, 50%); }
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 #5e7aa0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 122, 160, 10%) | #5e7aa01a | |
rgb(94, 122, 160, 20%) | #5e7aa033 | |
rgb(94, 122, 160, 40%) | #5e7aa04C | |
rgb(94, 122, 160, 60%) | #5e7aa099 | |
rgb(94, 122, 160, 80%) | #5e7aa0CC | |
rgb(94, 122, 160, 100%) | #5e7aa0FF |
Saturated and desaturated colors of #5e7aa0
HSL Code | Preview |
---|---|
hsl(215, 10%, 50%) | |
hsl(215, 20%, 50%) | |
hsl(215, 40%, 50%) | |
hsl(215, 60%, 50%) | |
hsl(215, 80%, 50%) | |
hsl(215, 100%, 50%) |
#5e7aa0 Color Usage In CSS
body { color: #5e7aa0; } p { color: rgb(94, 122, 160); } header { border-bottom:1px solid #5e7aa0; }