#406b89 Color
Color Codes | |
---|---|
Hex Code | #406b89 |
RGB Code | rgb(64, 107, 137) |
HSL Code | hsl(205, 36%, 39%) |
#406b89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 107, 137); }
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(205, 36%, 39%); }
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 #406b89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 107, 137, 10%) | #406b891a | |
rgb(64, 107, 137, 20%) | #406b8933 | |
rgb(64, 107, 137, 40%) | #406b894C | |
rgb(64, 107, 137, 60%) | #406b8999 | |
rgb(64, 107, 137, 80%) | #406b89CC | |
rgb(64, 107, 137, 100%) | #406b89FF |
Saturated and desaturated colors of #406b89
HSL Code | Preview |
---|---|
hsl(205, 10%, 39%) | |
hsl(205, 20%, 39%) | |
hsl(205, 40%, 39%) | |
hsl(205, 60%, 39%) | |
hsl(205, 80%, 39%) | |
hsl(205, 100%, 39%) |
#406b89 Color Usage In CSS
body { color: #406b89; } p { color: rgb(64, 107, 137); } header { border-bottom:1px solid #406b89; }