#401437 Color
Color Codes | |
---|---|
Hex Code | #401437 |
RGB Code | rgb(64, 20, 55) |
HSL Code | hsl(312, 52%, 16%) |
#401437 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 20, 55); }
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(312, 52%, 16%); }
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 #401437
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 20, 55, 10%) | #4014371a | |
rgb(64, 20, 55, 20%) | #40143733 | |
rgb(64, 20, 55, 40%) | #4014374C | |
rgb(64, 20, 55, 60%) | #40143799 | |
rgb(64, 20, 55, 80%) | #401437CC | |
rgb(64, 20, 55, 100%) | #401437FF |
Saturated and desaturated colors of #401437
HSL Code | Preview |
---|---|
hsl(312, 10%, 16%) | |
hsl(312, 20%, 16%) | |
hsl(312, 40%, 16%) | |
hsl(312, 60%, 16%) | |
hsl(312, 80%, 16%) | |
hsl(312, 100%, 16%) |
#401437 Color Usage In CSS
body { color: #401437; } p { color: rgb(64, 20, 55); } header { border-bottom:1px solid #401437; }