#400127 Color
Color Codes | |
---|---|
Hex Code | #400127 |
RGB Code | rgb(64, 01, 39) |
HSL Code | hsl(324, 97%, 13%) |
#400127 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 01, 39); }
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(324, 97%, 13%); }
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 #400127
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 01, 39, 10%) | #4001271a | |
rgb(64, 01, 39, 20%) | #40012733 | |
rgb(64, 01, 39, 40%) | #4001274C | |
rgb(64, 01, 39, 60%) | #40012799 | |
rgb(64, 01, 39, 80%) | #400127CC | |
rgb(64, 01, 39, 100%) | #400127FF |
Saturated and desaturated colors of #400127
HSL Code | Preview |
---|---|
hsl(324, 10%, 13%) | |
hsl(324, 20%, 13%) | |
hsl(324, 40%, 13%) | |
hsl(324, 60%, 13%) | |
hsl(324, 80%, 13%) | |
hsl(324, 100%, 13%) |
#400127 Color Usage In CSS
body { color: #400127; } p { color: rgb(64, 01, 39); } header { border-bottom:1px solid #400127; }