#405690 Color
Color Codes | |
---|---|
Hex Code | #405690 |
RGB Code | rgb(64, 86, 144) |
HSL Code | hsl(224, 38%, 41%) |
#405690 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 86, 144); }
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(224, 38%, 41%); }
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 #405690
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 86, 144, 10%) | #4056901a | |
rgb(64, 86, 144, 20%) | #40569033 | |
rgb(64, 86, 144, 40%) | #4056904C | |
rgb(64, 86, 144, 60%) | #40569099 | |
rgb(64, 86, 144, 80%) | #405690CC | |
rgb(64, 86, 144, 100%) | #405690FF |
Saturated and desaturated colors of #405690
HSL Code | Preview |
---|---|
hsl(224, 10%, 41%) | |
hsl(224, 20%, 41%) | |
hsl(224, 40%, 41%) | |
hsl(224, 60%, 41%) | |
hsl(224, 80%, 41%) | |
hsl(224, 100%, 41%) |
#405690 Color Usage In CSS
body { color: #405690; } p { color: rgb(64, 86, 144); } header { border-bottom:1px solid #405690; }