#412b41 Color
Color Codes | |
---|---|
Hex Code | #412b41 |
RGB Code | rgb(65, 43, 65) |
HSL Code | hsl(300, 20%, 21%) |
#412b41 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(65, 43, 65); }
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(300, 20%, 21%); }
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 #412b41
RGB Code | Hex Code | Preview |
---|---|---|
rgb(65, 43, 65, 10%) | #412b411a | |
rgb(65, 43, 65, 20%) | #412b4133 | |
rgb(65, 43, 65, 40%) | #412b414C | |
rgb(65, 43, 65, 60%) | #412b4199 | |
rgb(65, 43, 65, 80%) | #412b41CC | |
rgb(65, 43, 65, 100%) | #412b41FF |
Saturated and desaturated colors of #412b41
HSL Code | Preview |
---|---|
hsl(300, 10%, 21%) | |
hsl(300, 20%, 21%) | |
hsl(300, 40%, 21%) | |
hsl(300, 60%, 21%) | |
hsl(300, 80%, 21%) | |
hsl(300, 100%, 21%) |
#412b41 Color Usage In CSS
body { color: #412b41; } p { color: rgb(65, 43, 65); } header { border-bottom:1px solid #412b41; }