#40442a Color
Color Codes | |
---|---|
Hex Code | #40442a |
RGB Code | rgb(64, 68, 42) |
HSL Code | hsl(69, 24%, 22%) |
#40442a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 68, 42); }
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(69, 24%, 22%); }
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 #40442a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 68, 42, 10%) | #40442a1a | |
rgb(64, 68, 42, 20%) | #40442a33 | |
rgb(64, 68, 42, 40%) | #40442a4C | |
rgb(64, 68, 42, 60%) | #40442a99 | |
rgb(64, 68, 42, 80%) | #40442aCC | |
rgb(64, 68, 42, 100%) | #40442aFF |
Saturated and desaturated colors of #40442a
HSL Code | Preview |
---|---|
hsl(69, 10%, 22%) | |
hsl(69, 20%, 22%) | |
hsl(69, 40%, 22%) | |
hsl(69, 60%, 22%) | |
hsl(69, 80%, 22%) | |
hsl(69, 100%, 22%) |
#40442a Color Usage In CSS
body { color: #40442a; } p { color: rgb(64, 68, 42); } header { border-bottom:1px solid #40442a; }